pub enum DataTypeDef {
Show 18 variants
Null,
Bool,
I8,
I16,
I32,
I64,
U8,
U16,
U32,
U64,
F32,
F64,
String,
Bytes,
Struct(FieldDefs),
List(Box<ElementDef>),
Array(Box<ElementDef>, usize),
Map {
key: Box<ElementDef>,
value: Box<ElementDef>,
},
}Expand description
Arrow-independent data type definition for schema intermediate representation.
Variant names mirror Value for consistency (values ↔ types).
Variants§
Null
Bool
I8
I16
I32
I64
U8
U16
U32
U64
F32
F64
String
Bytes
Struct(FieldDefs)
List(Box<ElementDef>)
Array(Box<ElementDef>, usize)
Map
Implementations§
Source§impl DataTypeDef
impl DataTypeDef
Trait Implementations§
Source§impl Clone for DataTypeDef
impl Clone for DataTypeDef
Source§fn clone(&self) -> DataTypeDef
fn clone(&self) -> DataTypeDef
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 DataTypeDef
impl Debug for DataTypeDef
Source§impl PartialEq for DataTypeDef
impl PartialEq for DataTypeDef
impl StructuralPartialEq for DataTypeDef
Auto Trait Implementations§
impl Freeze for DataTypeDef
impl RefUnwindSafe for DataTypeDef
impl Send for DataTypeDef
impl Sync for DataTypeDef
impl Unpin for DataTypeDef
impl UnsafeUnpin for DataTypeDef
impl UnwindSafe for DataTypeDef
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