pub struct ElementDef {
pub data_type: DataTypeDef,
pub nullable: bool,
}Expand description
Arrow-independent nested element definition used in composite types.
Fields§
§data_type: DataTypeDef§nullable: boolImplementations§
Source§impl ElementDef
impl ElementDef
pub fn new(data_type: DataTypeDef, nullable: bool) -> Self
Trait Implementations§
Source§impl Clone for ElementDef
impl Clone for ElementDef
Source§fn clone(&self) -> ElementDef
fn clone(&self) -> ElementDef
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 ElementDef
impl Debug for ElementDef
Source§impl PartialEq for ElementDef
impl PartialEq for ElementDef
impl StructuralPartialEq for ElementDef
Auto Trait Implementations§
impl Freeze for ElementDef
impl RefUnwindSafe for ElementDef
impl Send for ElementDef
impl Sync for ElementDef
impl Unpin for ElementDef
impl UnsafeUnpin for ElementDef
impl UnwindSafe for ElementDef
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