pub enum DataLogValue {
Raw(Vec<u8>),
Boolean(bool),
Integer(i64),
Float(f32),
Double(f64),
String(String),
BooleanArray(Vec<bool>),
IntegerArray(Vec<i64>),
FloatArray(Vec<f32>),
DoubleArray(Vec<f64>),
StringArray(Vec<String>),
}
Variants§
Raw(Vec<u8>)
Boolean(bool)
Integer(i64)
Float(f32)
Double(f64)
String(String)
BooleanArray(Vec<bool>)
IntegerArray(Vec<i64>)
FloatArray(Vec<f32>)
DoubleArray(Vec<f64>)
StringArray(Vec<String>)
Implementations§
Source§impl DataLogValue
impl DataLogValue
pub fn get_data_type(&self) -> String
pub fn matches_type(&self, e_type: &String) -> bool
Trait Implementations§
Source§impl Clone for DataLogValue
impl Clone for DataLogValue
Source§fn clone(&self) -> DataLogValue
fn clone(&self) -> DataLogValue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataLogValue
impl Debug for DataLogValue
Source§impl<'de> Deserialize<'de> for DataLogValue
impl<'de> Deserialize<'de> for DataLogValue
Source§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
Source§impl PartialEq for DataLogValue
impl PartialEq for DataLogValue
Source§impl Serialize for DataLogValue
impl Serialize for DataLogValue
impl StructuralPartialEq for DataLogValue
Auto Trait Implementations§
impl Freeze for DataLogValue
impl RefUnwindSafe for DataLogValue
impl Send for DataLogValue
impl Sync for DataLogValue
impl Unpin for DataLogValue
impl UnwindSafe for DataLogValue
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