pub enum Value {
Float(f64),
Integer(i64),
UnsignedInteger(u64),
String(String),
Boolean(bool),
Timestamp(DateTime<Utc>),
}
Expand description
Value types supported by InfluxDB
Variants§
Float(f64)
A floating point value
Integer(i64)
An integer value
UnsignedInteger(u64)
An unsigned integer value
String(String)
A string value
Boolean(bool)
A boolean value
Timestamp(DateTime<Utc>)
A datetime value (as nanosecond epoch)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more