pub struct ColumnDefFrame {
pub name: String,
pub data_type: u8,
pub nullable: bool,
pub default: Option<Vec<u8>>,
pub vector_dim: Option<u32>,
pub compress: bool,
pub enum_variants: Vec<String>,
pub decimal_precision: u8,
pub element_type: Option<u8>,
pub metadata: Vec<(String, String)>,
}Expand description
A decoded column definition. Type bytes are opaque to this crate.
Fields§
§name: String§data_type: u8§nullable: bool§default: Option<Vec<u8>>§vector_dim: Option<u32>§compress: bool§enum_variants: Vec<String>§decimal_precision: u8§element_type: Option<u8>§metadata: Vec<(String, String)>Key/value metadata, in on-disk order.
Trait Implementations§
Source§impl Clone for ColumnDefFrame
impl Clone for ColumnDefFrame
Source§fn clone(&self) -> ColumnDefFrame
fn clone(&self) -> ColumnDefFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnDefFrame
impl Debug for ColumnDefFrame
impl Eq for ColumnDefFrame
Source§impl PartialEq for ColumnDefFrame
impl PartialEq for ColumnDefFrame
impl StructuralPartialEq for ColumnDefFrame
Auto Trait Implementations§
impl Freeze for ColumnDefFrame
impl RefUnwindSafe for ColumnDefFrame
impl Send for ColumnDefFrame
impl Sync for ColumnDefFrame
impl Unpin for ColumnDefFrame
impl UnsafeUnpin for ColumnDefFrame
impl UnwindSafe for ColumnDefFrame
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