Enum ftd::Value [−][src]
pub enum Value {
None {
kind: Kind,
},
String {
text: String,
source: TextSource,
},
Integer {
value: i64,
},
Decimal {
value: f64,
},
Boolean {
value: bool,
},
Record {
name: String,
fields: BTreeMap<String, PropertyValue>,
},
OrType {
name: String,
variant: String,
fields: BTreeMap<String, PropertyValue>,
},
List {
data: Vec<Value>,
kind: Kind,
},
Map {
data: BTreeMap<String, Value>,
kind: Kind,
},
}
Variants
Fields of None
kind: Kind
Fields of String
text: String
source: TextSource
Fields of Integer
value: i64
Fields of Decimal
value: f64
Fields of Boolean
value: bool
Fields of Record
name: String
fields: BTreeMap<String, PropertyValue>
Fields of OrType
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more