Struct datafusion::common::arrow::ipc::FieldBuilder
source · pub struct FieldBuilder<'a, 'b>where
'a: 'b,{ /* private fields */ }
Implementations§
source§impl<'a, 'b> FieldBuilder<'a, 'b>where
'a: 'b,
impl<'a, 'b> FieldBuilder<'a, 'b>where
'a: 'b,
pub fn add_name(&mut self, name: WIPOffset<&'b str>)
pub fn add_nullable(&mut self, nullable: bool)
pub fn add_type_type(&mut self, type_type: Type)
pub fn add_type_(&mut self, type_: WIPOffset<UnionWIPOffset>)
pub fn add_dictionary(&mut self, dictionary: WIPOffset<DictionaryEncoding<'b>>)
pub fn add_children( &mut self, children: WIPOffset<Vector<'b, ForwardsUOffset<Field<'b>>>>, )
pub fn add_custom_metadata( &mut self, custom_metadata: WIPOffset<Vector<'b, ForwardsUOffset<KeyValue<'b>>>>, )
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a>) -> FieldBuilder<'a, 'b>
pub fn finish(self) -> WIPOffset<Field<'a>>
Auto Trait Implementations§
impl<'a, 'b> Freeze for FieldBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for FieldBuilder<'a, 'b>
impl<'a, 'b> Send for FieldBuilder<'a, 'b>
impl<'a, 'b> Sync for FieldBuilder<'a, 'b>
impl<'a, 'b> Unpin for FieldBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for FieldBuilder<'a, 'b>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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