Struct serde_reflection::Named [−][src]
pub struct Named<T> { pub name: String, pub value: T, }
Expand description
A named value. Used for named parameters or variants.
Fields
name: String
value: T
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Visit all the formats in self
in a depth-first way.
Variables are not supported and will cause an error. Read more
Mutably visit all the formats in self
in a depth-first way. Read more
Update variables and add missing enum variants so that the terms match. This is a special case of term unification: Read more
Whether this format is a variable with no known value yet.
Finalize the formats within self
by removing variables and making sure
that all eligible tuples are compressed into a TupleArray
. Return an error
if any variable has an unknown value. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Named<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Named<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more