ColumnData

Enum ColumnData 

Source
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

Source

pub fn len(&self) -> usize

len of column data

Source

pub fn is_empty(&self) -> bool

is_empty() of column data

Source

pub fn column_type(&self) -> ColumnType

column type

Trait Implementations§

Source§

impl Clone for ColumnData

Source§

fn clone(&self) -> ColumnData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ColumnData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Vec<&str>> for ColumnData

Source§

fn from(value: Vec<&str>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<&str>>> for ColumnData

Source§

fn from(value: Vec<Option<&str>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<String>>> for ColumnData

Source§

fn from(value: Vec<Option<String>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<Vec<u8>>>> for ColumnData

Source§

fn from(value: Vec<Option<Vec<u8>>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<bool>>> for ColumnData

Source§

fn from(value: Vec<Option<bool>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<f32>>> for ColumnData

Source§

fn from(value: Vec<Option<f32>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<f64>>> for ColumnData

Source§

fn from(value: Vec<Option<f64>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<i32>>> for ColumnData

Source§

fn from(value: Vec<Option<i32>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<i64>>> for ColumnData

Source§

fn from(value: Vec<Option<i64>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<u32>>> for ColumnData

Source§

fn from(value: Vec<Option<u32>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Option<u64>>> for ColumnData

Source§

fn from(value: Vec<Option<u64>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<String>> for ColumnData

Source§

fn from(value: Vec<String>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Vec<u8>>> for ColumnData

Source§

fn from(value: Vec<Vec<u8>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<bool>> for ColumnData

Source§

fn from(value: Vec<bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<f32>> for ColumnData

Source§

fn from(value: Vec<f32>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<f64>> for ColumnData

Source§

fn from(value: Vec<f64>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i32>> for ColumnData

Source§

fn from(value: Vec<i32>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i64>> for ColumnData

Source§

fn from(value: Vec<i64>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u32>> for ColumnData

Source§

fn from(value: Vec<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u64>> for ColumnData

Source§

fn from(value: Vec<u64>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V