mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
13 lines
205 B
Rust
13 lines
205 B
Rust
use darkfi::serial::SerialEncodable;
|
|
|
|
#[derive(Debug, SerialEncodable)]
|
|
struct Test {
|
|
one: u64,
|
|
two: u64,
|
|
}
|
|
|
|
fn main() {
|
|
let test = Test { one: 1, two: 2 };
|
|
println!("Test: {:?}", test);
|
|
}
|