Enum valued::Value [−][src]
#[non_exhaustive]
pub enum Value {
Primitive(Primitive),
Seq(Vec<Value>),
Dict(OrderedMap<String, Value>),
Map(OrderedMap<Value, Value>),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Primitive(Primitive)
Tuple Fields
0: Primitive
Seq(Vec<Value>)
Dict(OrderedMap<String, Value>)
Tuple Fields
0: OrderedMap<String, Value>
Map(OrderedMap<Value, Value>)
Tuple Fields
0: OrderedMap<Value, Value>
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more