#[non_exhaustive]pub struct RelativeDateTimeControlDisplayOptionsBuilder { /* private fields */ }Expand description
A builder for RelativeDateTimeControlDisplayOptions.
Implementations§
source§impl RelativeDateTimeControlDisplayOptionsBuilder
impl RelativeDateTimeControlDisplayOptionsBuilder
sourcepub fn title_options(self, input: LabelOptions) -> Self
pub fn title_options(self, input: LabelOptions) -> Self
The options to configure the title visibility, name, and font size.
sourcepub fn set_title_options(self, input: Option<LabelOptions>) -> Self
pub fn set_title_options(self, input: Option<LabelOptions>) -> Self
The options to configure the title visibility, name, and font size.
sourcepub fn get_title_options(&self) -> &Option<LabelOptions>
pub fn get_title_options(&self) -> &Option<LabelOptions>
The options to configure the title visibility, name, and font size.
sourcepub fn date_time_format(self, input: impl Into<String>) -> Self
pub fn date_time_format(self, input: impl Into<String>) -> Self
Customize how dates are formatted in controls.
sourcepub fn set_date_time_format(self, input: Option<String>) -> Self
pub fn set_date_time_format(self, input: Option<String>) -> Self
Customize how dates are formatted in controls.
sourcepub fn get_date_time_format(&self) -> &Option<String>
pub fn get_date_time_format(&self) -> &Option<String>
Customize how dates are formatted in controls.
sourcepub fn info_icon_label_options(
self,
input: SheetControlInfoIconLabelOptions
) -> Self
pub fn info_icon_label_options( self, input: SheetControlInfoIconLabelOptions ) -> Self
The configuration of info icon label options.
sourcepub fn set_info_icon_label_options(
self,
input: Option<SheetControlInfoIconLabelOptions>
) -> Self
pub fn set_info_icon_label_options( self, input: Option<SheetControlInfoIconLabelOptions> ) -> Self
The configuration of info icon label options.
sourcepub fn get_info_icon_label_options(
&self
) -> &Option<SheetControlInfoIconLabelOptions>
pub fn get_info_icon_label_options( &self ) -> &Option<SheetControlInfoIconLabelOptions>
The configuration of info icon label options.
sourcepub fn build(self) -> RelativeDateTimeControlDisplayOptions
pub fn build(self) -> RelativeDateTimeControlDisplayOptions
Consumes the builder and constructs a RelativeDateTimeControlDisplayOptions.
Trait Implementations§
source§impl Clone for RelativeDateTimeControlDisplayOptionsBuilder
impl Clone for RelativeDateTimeControlDisplayOptionsBuilder
source§fn clone(&self) -> RelativeDateTimeControlDisplayOptionsBuilder
fn clone(&self) -> RelativeDateTimeControlDisplayOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for RelativeDateTimeControlDisplayOptionsBuilder
impl Default for RelativeDateTimeControlDisplayOptionsBuilder
source§fn default() -> RelativeDateTimeControlDisplayOptionsBuilder
fn default() -> RelativeDateTimeControlDisplayOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RelativeDateTimeControlDisplayOptionsBuilder
impl PartialEq for RelativeDateTimeControlDisplayOptionsBuilder
source§fn eq(&self, other: &RelativeDateTimeControlDisplayOptionsBuilder) -> bool
fn eq(&self, other: &RelativeDateTimeControlDisplayOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RelativeDateTimeControlDisplayOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RelativeDateTimeControlDisplayOptionsBuilder
impl Send for RelativeDateTimeControlDisplayOptionsBuilder
impl Sync for RelativeDateTimeControlDisplayOptionsBuilder
impl Unpin for RelativeDateTimeControlDisplayOptionsBuilder
impl UnwindSafe for RelativeDateTimeControlDisplayOptionsBuilder
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>
Creates a shared type from an unshared type.