Derive Macro OwnedValue

Source
#[derive(OwnedValue)]
{
    // Attributes available to this derive:
    #[zbus]
    #[zvariant]
}
Expand description

Implements conversions for your type to/from OwnedValue.

Implements TryFrom<OwnedValue> and TryInto<OwnedValue> for your type.

See Value documentation for examples.