zvariant_derive
This crate provides derive macros helpers for zvariant
. The zvariant
crate re-exports these
macros for your convenience so you do not need to use this crate directly.
Status: Stable.
Example code
use ;
use ;
assert_eq!;
let s = Struct ;
let ctxt = new_dbus;
let encoded = to_bytes.unwrap;
let decoded: Struct = encoded.deserialize.unwrap.0;
assert_eq!;