Struct nachricht::Field [−][src]
Expand description
When encoding struct-like data structures, name
should be the identifier of the current field. When encoding
sequence-like data, name
can be omitted. Note that the type of name
is fixed at &str
, which means maps with
arbitrary key types need to be encoded as sequences.
Fields
name: Option<Cow<'a, str>>
value: Value<'a>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Field<'a>
impl<'a> UnwindSafe for Field<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more