pub struct Builder<T>(/* private fields */);Expand description
A builder for ValueTableMultiCellConfig
Implementations§
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn range(
self,
range: impl Into<Option<RangeCellConfig>>,
) -> Builder<Complete>
pub fn range( self, range: impl Into<Option<RangeCellConfig>>, ) -> Builder<Complete>
Sets the range field.
Sourcepub fn enum_(
self,
enum_: impl Into<Option<EnumCellConfig>>,
) -> Builder<Complete>
pub fn enum_( self, enum_: impl Into<Option<EnumCellConfig>>, ) -> Builder<Complete>
Sets the enum_ field.
Sourcepub fn numeric(
self,
numeric: impl Into<Option<NumericCellConfig>>,
) -> Builder<Complete>
pub fn numeric( self, numeric: impl Into<Option<NumericCellConfig>>, ) -> Builder<Complete>
Sets the numeric field.
Sourcepub fn staleness(
self,
staleness: impl Into<Option<StalenessCellConfig>>,
) -> Builder<Complete>
pub fn staleness( self, staleness: impl Into<Option<StalenessCellConfig>>, ) -> Builder<Complete>
Sets the staleness field.
Sourcepub fn numeric_array(
self,
numeric_array: impl Into<Option<NumericArrayCellConfig>>,
) -> Builder<Complete>
pub fn numeric_array( self, numeric_array: impl Into<Option<NumericArrayCellConfig>>, ) -> Builder<Complete>
Sets the numeric_array field.
Sourcepub fn enum_array(
self,
enum_array: impl Into<Option<EnumArrayCellConfig>>,
) -> Builder<Complete>
pub fn enum_array( self, enum_array: impl Into<Option<EnumArrayCellConfig>>, ) -> Builder<Complete>
Sets the enum_array field.
Sourcepub fn struct_(
self,
struct_: impl Into<Option<StructCellConfig>>,
) -> Builder<Complete>
pub fn struct_( self, struct_: impl Into<Option<StructCellConfig>>, ) -> Builder<Complete>
Sets the struct_ field.
Sourcepub fn build(self) -> ValueTableMultiCellConfig
pub fn build(self) -> ValueTableMultiCellConfig
Consumes the builder, returning a ValueTableMultiCellConfig.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnsafeUnpin for Builder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Builder<T>where
T: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request