pub struct StructuredSchemaBuilder<'a, O: StructuredSchemaOwner> { /* private fields */ }Implementations§
Source§impl<'a, O: StructuredSchemaOwner> StructuredSchemaBuilder<'a, O>
impl<'a, O: StructuredSchemaOwner> StructuredSchemaBuilder<'a, O>
pub fn new(owner: &'a mut O) -> Self
pub fn add_bytes_column(&mut self, column: u16) -> &mut Self
pub fn add_list_column(&mut self, column: u16, config: ListConfig) -> &mut Self
pub fn delete_column(&mut self, column: u16) -> &mut Self
pub fn current_schema(&self) -> &StructuredSchema
pub fn commit(&mut self) -> Result<StructuredSchema>
Auto Trait Implementations§
impl<'a, O> Freeze for StructuredSchemaBuilder<'a, O>
impl<'a, O> !RefUnwindSafe for StructuredSchemaBuilder<'a, O>
impl<'a, O> Send for StructuredSchemaBuilder<'a, O>where
O: Send,
impl<'a, O> Sync for StructuredSchemaBuilder<'a, O>where
O: Sync,
impl<'a, O> Unpin for StructuredSchemaBuilder<'a, O>
impl<'a, O> UnsafeUnpin for StructuredSchemaBuilder<'a, O>
impl<'a, O> !UnwindSafe for StructuredSchemaBuilder<'a, O>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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