#[non_exhaustive]pub struct DefaultDateTimePickerControlOptionsBuilder { /* private fields */ }Expand description
A builder for DefaultDateTimePickerControlOptions.
Implementations§
source§impl DefaultDateTimePickerControlOptionsBuilder
impl DefaultDateTimePickerControlOptionsBuilder
sourcepub fn type(self, input: SheetControlDateTimePickerType) -> Self
pub fn type(self, input: SheetControlDateTimePickerType) -> Self
The date time picker type of the DefaultDateTimePickerControlOptions. Choose one of the following options:
-
SINGLE_VALUED: The filter condition is a fixed date. -
DATE_RANGE: The filter condition is a date time range.
sourcepub fn set_type(self, input: Option<SheetControlDateTimePickerType>) -> Self
pub fn set_type(self, input: Option<SheetControlDateTimePickerType>) -> Self
The date time picker type of the DefaultDateTimePickerControlOptions. Choose one of the following options:
-
SINGLE_VALUED: The filter condition is a fixed date. -
DATE_RANGE: The filter condition is a date time range.
sourcepub fn get_type(&self) -> &Option<SheetControlDateTimePickerType>
pub fn get_type(&self) -> &Option<SheetControlDateTimePickerType>
The date time picker type of the DefaultDateTimePickerControlOptions. Choose one of the following options:
-
SINGLE_VALUED: The filter condition is a fixed date. -
DATE_RANGE: The filter condition is a date time range.
sourcepub fn display_options(self, input: DateTimePickerControlDisplayOptions) -> Self
pub fn display_options(self, input: DateTimePickerControlDisplayOptions) -> Self
The display options of a control.
sourcepub fn set_display_options(
self,
input: Option<DateTimePickerControlDisplayOptions>,
) -> Self
pub fn set_display_options( self, input: Option<DateTimePickerControlDisplayOptions>, ) -> Self
The display options of a control.
sourcepub fn get_display_options(
&self,
) -> &Option<DateTimePickerControlDisplayOptions>
pub fn get_display_options( &self, ) -> &Option<DateTimePickerControlDisplayOptions>
The display options of a control.
sourcepub fn build(self) -> DefaultDateTimePickerControlOptions
pub fn build(self) -> DefaultDateTimePickerControlOptions
Consumes the builder and constructs a DefaultDateTimePickerControlOptions.
Trait Implementations§
source§impl Clone for DefaultDateTimePickerControlOptionsBuilder
impl Clone for DefaultDateTimePickerControlOptionsBuilder
source§fn clone(&self) -> DefaultDateTimePickerControlOptionsBuilder
fn clone(&self) -> DefaultDateTimePickerControlOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DefaultDateTimePickerControlOptionsBuilder
impl Default for DefaultDateTimePickerControlOptionsBuilder
source§fn default() -> DefaultDateTimePickerControlOptionsBuilder
fn default() -> DefaultDateTimePickerControlOptionsBuilder
source§impl PartialEq for DefaultDateTimePickerControlOptionsBuilder
impl PartialEq for DefaultDateTimePickerControlOptionsBuilder
source§fn eq(&self, other: &DefaultDateTimePickerControlOptionsBuilder) -> bool
fn eq(&self, other: &DefaultDateTimePickerControlOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DefaultDateTimePickerControlOptionsBuilder
Auto Trait Implementations§
impl Freeze for DefaultDateTimePickerControlOptionsBuilder
impl RefUnwindSafe for DefaultDateTimePickerControlOptionsBuilder
impl Send for DefaultDateTimePickerControlOptionsBuilder
impl Sync for DefaultDateTimePickerControlOptionsBuilder
impl Unpin for DefaultDateTimePickerControlOptionsBuilder
impl UnwindSafe for DefaultDateTimePickerControlOptionsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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