#[non_exhaustive]pub struct DefaultFilterListControlOptions {
pub display_options: Option<ListControlDisplayOptions>,
pub type: Option<SheetControlListType>,
pub selectable_values: Option<FilterSelectableValues>,
}
Expand description
The default options that correspond to the List
filter control type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.display_options: Option<ListControlDisplayOptions>
The display options of a control.
type: Option<SheetControlListType>
The type of the DefaultFilterListControlOptions
. Choose one of the following options:
-
MULTI_SELECT
: The user can select multiple entries from the list. -
SINGLE_SELECT
: The user can select a single entry from the list.
selectable_values: Option<FilterSelectableValues>
A list of selectable values that are used in a control.
Implementations§
source§impl DefaultFilterListControlOptions
impl DefaultFilterListControlOptions
sourcepub fn display_options(&self) -> Option<&ListControlDisplayOptions>
pub fn display_options(&self) -> Option<&ListControlDisplayOptions>
The display options of a control.
sourcepub fn type(&self) -> Option<&SheetControlListType>
pub fn type(&self) -> Option<&SheetControlListType>
The type of the DefaultFilterListControlOptions
. Choose one of the following options:
-
MULTI_SELECT
: The user can select multiple entries from the list. -
SINGLE_SELECT
: The user can select a single entry from the list.
sourcepub fn selectable_values(&self) -> Option<&FilterSelectableValues>
pub fn selectable_values(&self) -> Option<&FilterSelectableValues>
A list of selectable values that are used in a control.
source§impl DefaultFilterListControlOptions
impl DefaultFilterListControlOptions
sourcepub fn builder() -> DefaultFilterListControlOptionsBuilder
pub fn builder() -> DefaultFilterListControlOptionsBuilder
Creates a new builder-style object to manufacture DefaultFilterListControlOptions
.
Trait Implementations§
source§impl Clone for DefaultFilterListControlOptions
impl Clone for DefaultFilterListControlOptions
source§fn clone(&self) -> DefaultFilterListControlOptions
fn clone(&self) -> DefaultFilterListControlOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DefaultFilterListControlOptions
impl PartialEq for DefaultFilterListControlOptions
source§fn eq(&self, other: &DefaultFilterListControlOptions) -> bool
fn eq(&self, other: &DefaultFilterListControlOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefaultFilterListControlOptions
Auto Trait Implementations§
impl Freeze for DefaultFilterListControlOptions
impl RefUnwindSafe for DefaultFilterListControlOptions
impl Send for DefaultFilterListControlOptions
impl Sync for DefaultFilterListControlOptions
impl Unpin for DefaultFilterListControlOptions
impl UnwindSafe for DefaultFilterListControlOptions
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> 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