pub enum ColumnData {
BinaryColumn(Vec<Vec<u8>>),
StringColumn(Vec<String>),
BoolColumn(Vec<bool>),
IntegerColumn(Vec<f64>),
FloatColumn(Vec<f64>),
BinaryOptionColumn(Vec<Option<Vec<u8>>>),
StringOptionColumn(Vec<Option<String>>),
BoolOptionColumn(Vec<Option<bool>>),
IntegerOptionColumn(Vec<Option<f64>>),
FloatOptionColumn(Vec<Option<f64>>),
}Expand description
Column Vec
Variants§
BinaryColumn(Vec<Vec<u8>>)
binary column
StringColumn(Vec<String>)
string column
BoolColumn(Vec<bool>)
bool column
IntegerColumn(Vec<f64>)
integer column (stored as f64 for formatting)
FloatColumn(Vec<f64>)
float column
BinaryOptionColumn(Vec<Option<Vec<u8>>>)
binary option column
StringOptionColumn(Vec<Option<String>>)
string option column
BoolOptionColumn(Vec<Option<bool>>)
bool option column
IntegerOptionColumn(Vec<Option<f64>>)
integer option column
FloatOptionColumn(Vec<Option<f64>>)
float option column
Implementations§
Source§impl ColumnData
impl ColumnData
Sourcepub fn column_type(&self) -> ColumnType
pub fn column_type(&self) -> ColumnType
column type
Trait Implementations§
Source§impl Clone for ColumnData
impl Clone for ColumnData
Source§fn clone(&self) -> ColumnData
fn clone(&self) -> ColumnData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnData
impl Debug for ColumnData
Auto Trait Implementations§
impl Freeze for ColumnData
impl RefUnwindSafe for ColumnData
impl Send for ColumnData
impl Sync for ColumnData
impl Unpin for ColumnData
impl UnwindSafe for ColumnData
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