Enum influxdb2_structmap::value::Value [−][src]
pub enum Value { Unknown, String(String), Double(f64), Bool(bool), Long(i64), UnsignedLong(u64), Duration(Duration), Base64Binary(Vec<u8>), TimeRFC(DateTime<FixedOffset>), }
Expand description
Represents primitive types that are supported for conversion into a BTreeMap that can support
heterogeneous values. Inspired by serde_json::Value
s.
Variants
Tuple Fields of String
0: String
Tuple Fields of Double
0: f64
Tuple Fields of Bool
0: bool
Tuple Fields of Long
0: i64
Tuple Fields of UnsignedLong
0: u64
Tuple Fields of Duration
0: Duration
Tuple Fields of TimeRFC
0: DateTime<FixedOffset>
Implementations
Given a genericized input type, encapsulate it as a Value that can be used in a map container type when converting to and from a struct.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more