pub enum Column {
Int(Vec<i32>),
UInt(Vec<u32>),
Long(Vec<i64>),
ULong(Vec<u64>),
Double(Vec<f64>),
Bool(Vec<bool>),
String(Vec<String>),
}Expand description
Column-oriented storage for a single CCDB field.
Variants§
Int(Vec<i32>)
Signed 32-bit integer values.
UInt(Vec<u32>)
Unsigned 32-bit integer values.
Long(Vec<i64>)
Signed 64-bit integer values.
ULong(Vec<u64>)
Unsigned 64-bit integer values.
Double(Vec<f64>)
Floating-point values.
Bool(Vec<bool>)
Boolean values.
String(Vec<String>)
UTF-8 string values.
Implementations§
Source§impl Column
impl Column
Sourcepub fn int(&self) -> Option<Vec<i32>>
pub fn int(&self) -> Option<Vec<i32>>
Returns a clone of the underlying i32 data, if the type matches.
Sourcepub fn uint(&self) -> Option<Vec<u32>>
pub fn uint(&self) -> Option<Vec<u32>>
Returns a clone of the underlying u32 data, if the type matches.
Sourcepub fn long(&self) -> Option<Vec<i64>>
pub fn long(&self) -> Option<Vec<i64>>
Returns a clone of the underlying i64 data, if the type matches.
Sourcepub fn ulong(&self) -> Option<Vec<u64>>
pub fn ulong(&self) -> Option<Vec<u64>>
Returns a clone of the underlying u64 data, if the type matches.
Sourcepub fn double(&self) -> Option<Vec<f64>>
pub fn double(&self) -> Option<Vec<f64>>
Returns a clone of the underlying f64 data, if the type matches.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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