pub enum DataValue {
String(String),
Integer(i64),
Float(f64),
Boolean(bool),
Date(NaiveDate),
Time(NaiveTime),
DateTime(NaiveDateTime),
Complex(Complex64),
Missing,
}
Expand description
Data value type for mixed type columns
Variants§
String(String)
String value
Integer(i64)
Integer value
Float(f64)
Float value
Boolean(bool)
Boolean value
Date(NaiveDate)
Date value (year, month, day)
Time(NaiveTime)
Time value (hour, minute, second)
DateTime(NaiveDateTime)
DateTime value
Complex(Complex64)
Complex number value (real, imaginary)
Missing
Missing value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataValue
impl RefUnwindSafe for DataValue
impl Send for DataValue
impl Sync for DataValue
impl Unpin for DataValue
impl UnwindSafe for DataValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more