#[non_exhaustive]pub enum CellValue<'a> {
Null,
Float(f64),
Int(i64),
Bool(bool),
Text(&'a str),
Date(i64),
Time(i64),
Category(&'a str),
}Available on crate feature
data only.Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Null
No value.
Float(f64)
Float.
Int(i64)
Integer.
Bool(bool)
Boolean.
Text(&'a str)
Text.
Date(i64)
Date.
Time(i64)
Time.
Category(&'a str)
Category.
Implementations§
Trait Implementations§
impl<'a> Copy for CellValue<'a>
impl<'a> StructuralPartialEq for CellValue<'a>
Auto Trait Implementations§
impl<'a> Forget for CellValue<'a>
impl<'a> Freeze for CellValue<'a>
impl<'a> Move for CellValue<'a>
impl<'a> RefUnwindSafe for CellValue<'a>
impl<'a> Send for CellValue<'a>
impl<'a> Sync for CellValue<'a>
impl<'a> Unpin for CellValue<'a>
impl<'a> UnsafeUnpin for CellValue<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for CellValue<'a>where
&'a str: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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