pub struct FooterBuilder<State>(/* private fields */);Expand description
Builder for serializing an instance of the Footer type.
Can be created using the Footer::builder method.
Implementations§
Sourcepub fn version<T0>(self, value: T0) -> FooterBuilder<(T0,)>
pub fn version<T0>(self, value: T0) -> FooterBuilder<(T0,)>
Setter for the version field.
Sourcepub fn version_as_default(self) -> FooterBuilder<(DefaultValue,)>
pub fn version_as_default(self) -> FooterBuilder<(DefaultValue,)>
Sets the version field to the default value.
Sourcepub fn schema<T1>(self, value: T1) -> FooterBuilder<(T0, T1)>
pub fn schema<T1>(self, value: T1) -> FooterBuilder<(T0, T1)>
Setter for the schema field.
Sourcepub fn schema_as_null(self) -> FooterBuilder<(T0, ())>
pub fn schema_as_null(self) -> FooterBuilder<(T0, ())>
Sets the schema field to null.
Sourcepub fn dictionaries<T2>(self, value: T2) -> FooterBuilder<(T0, T1, T2)>
pub fn dictionaries<T2>(self, value: T2) -> FooterBuilder<(T0, T1, T2)>
Setter for the dictionaries field.
Sourcepub fn dictionaries_as_null(self) -> FooterBuilder<(T0, T1, ())>
pub fn dictionaries_as_null(self) -> FooterBuilder<(T0, T1, ())>
Sets the dictionaries field to null.
Sourcepub fn record_batches<T3>(self, value: T3) -> FooterBuilder<(T0, T1, T2, T3)>
pub fn record_batches<T3>(self, value: T3) -> FooterBuilder<(T0, T1, T2, T3)>
Setter for the recordBatches field.
Sourcepub fn record_batches_as_null(self) -> FooterBuilder<(T0, T1, T2, ())>
pub fn record_batches_as_null(self) -> FooterBuilder<(T0, T1, T2, ())>
Sets the recordBatches field to null.
Sourcepub fn custom_metadata<T4>(
self,
value: T4,
) -> FooterBuilder<(T0, T1, T2, T3, T4)>
pub fn custom_metadata<T4>( self, value: T4, ) -> FooterBuilder<(T0, T1, T2, T3, T4)>
Setter for the custom_metadata field.
Sourcepub fn custom_metadata_as_null(self) -> FooterBuilder<(T0, T1, T2, T3, ())>
pub fn custom_metadata_as_null(self) -> FooterBuilder<(T0, T1, T2, T3, ())>
Sets the custom_metadata field to null.
Trait Implementations§
Auto Trait Implementations§
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