pub struct DictionaryEncodingBuilder<State>(/* private fields */);Expand description
Builder for serializing an instance of the DictionaryEncoding type.
Can be created using the DictionaryEncoding::builder method.
Implementations§
Source§impl DictionaryEncodingBuilder<()>
impl DictionaryEncodingBuilder<()>
Sourcepub fn id<T0>(self, value: T0) -> DictionaryEncodingBuilder<(T0,)>
pub fn id<T0>(self, value: T0) -> DictionaryEncodingBuilder<(T0,)>
Setter for the id field.
Sourcepub fn id_as_default(self) -> DictionaryEncodingBuilder<(DefaultValue,)>
pub fn id_as_default(self) -> DictionaryEncodingBuilder<(DefaultValue,)>
Sets the id field to the default value.
Source§impl<T0> DictionaryEncodingBuilder<(T0,)>
impl<T0> DictionaryEncodingBuilder<(T0,)>
Sourcepub fn index_type<T1>(self, value: T1) -> DictionaryEncodingBuilder<(T0, T1)>
pub fn index_type<T1>(self, value: T1) -> DictionaryEncodingBuilder<(T0, T1)>
Setter for the indexType field.
Sourcepub fn index_type_as_null(self) -> DictionaryEncodingBuilder<(T0, ())>
pub fn index_type_as_null(self) -> DictionaryEncodingBuilder<(T0, ())>
Sets the indexType field to null.
Source§impl<T0, T1> DictionaryEncodingBuilder<(T0, T1)>
impl<T0, T1> DictionaryEncodingBuilder<(T0, T1)>
Sourcepub fn is_ordered<T2>(
self,
value: T2,
) -> DictionaryEncodingBuilder<(T0, T1, T2)>
pub fn is_ordered<T2>( self, value: T2, ) -> DictionaryEncodingBuilder<(T0, T1, T2)>
Setter for the isOrdered field.
Sourcepub fn is_ordered_as_default(
self,
) -> DictionaryEncodingBuilder<(T0, T1, DefaultValue)>
pub fn is_ordered_as_default( self, ) -> DictionaryEncodingBuilder<(T0, T1, DefaultValue)>
Sets the isOrdered field to the default value.
Source§impl<T0, T1, T2> DictionaryEncodingBuilder<(T0, T1, T2)>
impl<T0, T1, T2> DictionaryEncodingBuilder<(T0, T1, T2)>
Sourcepub fn dictionary_kind<T3>(
self,
value: T3,
) -> DictionaryEncodingBuilder<(T0, T1, T2, T3)>
pub fn dictionary_kind<T3>( self, value: T3, ) -> DictionaryEncodingBuilder<(T0, T1, T2, T3)>
Setter for the dictionaryKind field.
Sourcepub fn dictionary_kind_as_default(
self,
) -> DictionaryEncodingBuilder<(T0, T1, T2, DefaultValue)>
pub fn dictionary_kind_as_default( self, ) -> DictionaryEncodingBuilder<(T0, T1, T2, DefaultValue)>
Sets the dictionaryKind field to the default value.
Source§impl<T0, T1, T2, T3> DictionaryEncodingBuilder<(T0, T1, T2, T3)>
impl<T0, T1, T2, T3> DictionaryEncodingBuilder<(T0, T1, T2, T3)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<DictionaryEncoding>where
Self: WriteAsOffset<DictionaryEncoding>,
pub fn finish(self, builder: &mut Builder) -> Offset<DictionaryEncoding>where
Self: WriteAsOffset<DictionaryEncoding>,
Finish writing the builder to get an Offset to a serialized DictionaryEncoding.
Trait Implementations§
Source§impl<State: Debug> Debug for DictionaryEncodingBuilder<State>
impl<State: Debug> Debug for DictionaryEncodingBuilder<State>
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<Int>>, T2: WriteAsDefault<bool, bool>, T3: WriteAsDefault<DictionaryKind, DictionaryKind>> WriteAs<Offset<DictionaryEncoding>> for DictionaryEncodingBuilder<(T0, T1, T2, T3)>
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<Int>>, T2: WriteAsDefault<bool, bool>, T3: WriteAsDefault<DictionaryKind, DictionaryKind>> WriteAsOffset<DictionaryEncoding> for DictionaryEncodingBuilder<(T0, T1, T2, T3)>
impl<T0: WriteAsDefault<i64, i64>, T1: WriteAsOptional<Offset<Int>>, T2: WriteAsDefault<bool, bool>, T3: WriteAsDefault<DictionaryKind, DictionaryKind>> WriteAsOptional<Offset<DictionaryEncoding>> for DictionaryEncodingBuilder<(T0, T1, T2, T3)>
Auto Trait Implementations§
impl<State> Freeze for DictionaryEncodingBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for DictionaryEncodingBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for DictionaryEncodingBuilder<State>where
State: Send,
impl<State> Sync for DictionaryEncodingBuilder<State>where
State: Sync,
impl<State> Unpin for DictionaryEncodingBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for DictionaryEncodingBuilder<State>where
State: UnwindSafe,
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