pub enum Value<'a> {
Int(&'a i32),
UInt(&'a u32),
Long(&'a i64),
ULong(&'a u64),
Double(&'a f64),
Bool(&'a bool),
String(&'a str),
}Expand description
Borrowed view into a single cell of CCDB data.
Variants§
Int(&'a i32)
Signed 32-bit integer cell.
UInt(&'a u32)
Unsigned 32-bit integer cell.
Long(&'a i64)
Signed 64-bit integer cell.
ULong(&'a u64)
Unsigned 64-bit integer cell.
Double(&'a f64)
Floating-point cell.
Bool(&'a bool)
Boolean cell.
String(&'a str)
UTF-8 string cell.
Implementations§
Trait Implementations§
impl<'a> Copy for Value<'a>
Auto Trait Implementations§
impl<'a> Freeze for Value<'a>
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> Send for Value<'a>
impl<'a> Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnwindSafe for Value<'a>
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