Enum GCDatapointValueType
pub enum GCDatapointValueType {
Bool(bool),
DoublePoint(u8),
Int64(i64),
Int32(i32),
UInt32(u32),
UInt64(u64),
Double(f64),
Float(f32),
Bytes(Vec<u8>),
TimestampNs(u64),
}Expand description
Possible value types for a datapoint
Variants§
Bool(bool)
DoublePoint(u8)
Int64(i64)
Int32(i32)
UInt32(u32)
UInt64(u64)
Double(f64)
Float(f32)
Bytes(Vec<u8>)
TimestampNs(u64)
Trait Implementations§
§impl Debug for GCDatapointValueType
impl Debug for GCDatapointValueType
§impl<'de> Deserialize<'de> for GCDatapointValueType
impl<'de> Deserialize<'de> for GCDatapointValueType
§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
§impl Display for GCDatapointValueType
impl Display for GCDatapointValueType
§impl PartialEq for GCDatapointValueType
impl PartialEq for GCDatapointValueType
§impl Serialize for GCDatapointValueType
impl Serialize for GCDatapointValueType
impl StructuralPartialEq for GCDatapointValueType
Auto Trait Implementations§
impl Freeze for GCDatapointValueType
impl RefUnwindSafe for GCDatapointValueType
impl Send for GCDatapointValueType
impl Sync for GCDatapointValueType
impl Unpin for GCDatapointValueType
impl UnsafeUnpin for GCDatapointValueType
impl UnwindSafe for GCDatapointValueType
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