pub struct Column {
pub name: Fragment,
pub data: ColumnData,
}Fields§
§name: Fragment§data: ColumnDataImplementations§
Source§impl Column
impl Column
pub fn new(name: impl Into<Fragment>, data: ColumnData) -> Self
pub fn get_type(&self) -> Type
pub fn with_new_data(&self, data: ColumnData) -> Column
pub fn name(&self) -> &Fragment
pub fn name_owned(&self) -> Fragment
pub fn data(&self) -> &ColumnData
pub fn data_mut(&mut self) -> &mut ColumnData
pub fn int1( name: impl Into<Fragment>, data: impl IntoIterator<Item = i8>, ) -> Self
pub fn int1_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i8>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int2( name: impl Into<Fragment>, data: impl IntoIterator<Item = i16>, ) -> Self
pub fn int2_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i16>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int4( name: impl Into<Fragment>, data: impl IntoIterator<Item = i32>, ) -> Self
pub fn int4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i32>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int8( name: impl Into<Fragment>, data: impl IntoIterator<Item = i64>, ) -> Self
pub fn int8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i64>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int16( name: impl Into<Fragment>, data: impl IntoIterator<Item = i128>, ) -> Self
pub fn int16_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i128>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint1( name: impl Into<Fragment>, data: impl IntoIterator<Item = u8>, ) -> Self
pub fn uint1_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u8>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint2( name: impl Into<Fragment>, data: impl IntoIterator<Item = u16>, ) -> Self
pub fn uint2_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u16>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint4( name: impl Into<Fragment>, data: impl IntoIterator<Item = u32>, ) -> Self
pub fn uint4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u32>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint8( name: impl Into<Fragment>, data: impl IntoIterator<Item = u64>, ) -> Self
pub fn uint8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u64>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint16( name: impl Into<Fragment>, data: impl IntoIterator<Item = u128>, ) -> Self
pub fn uint16_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u128>, bitvec: impl Into<BitVec>, ) -> Self
pub fn float4( name: impl Into<Fragment>, data: impl IntoIterator<Item = f32>, ) -> Self
pub fn float4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = f32>, bitvec: impl Into<BitVec>, ) -> Self
pub fn float8( name: impl Into<Fragment>, data: impl IntoIterator<Item = f64>, ) -> Self
pub fn float8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = f64>, bitvec: impl Into<BitVec>, ) -> Self
pub fn bool( name: impl Into<Fragment>, data: impl IntoIterator<Item = bool>, ) -> Self
pub fn bool_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = bool>, bitvec: impl Into<BitVec>, ) -> Self
pub fn utf8( name: impl Into<Fragment>, data: impl IntoIterator<Item = String>, ) -> Self
pub fn utf8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = String>, bitvec: impl Into<BitVec>, ) -> Self
pub fn undefined(name: impl Into<Fragment>, row_count: usize) -> Self
pub fn uuid4( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid4>, ) -> Self
pub fn uuid4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid4>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uuid7( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid7>, ) -> Self
pub fn uuid7_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid7>, bitvec: impl Into<BitVec>, ) -> Self
Trait Implementations§
Source§impl From<Column> for FrameColumn
impl From<Column> for FrameColumn
impl StructuralPartialEq for Column
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