#[non_exhaustive]pub struct CustomFilterConfiguration { /* private fields */ }
Expand description
A custom filter that filters based on a single value. This filter can be partially matched.
Implementations§
source§impl CustomFilterConfiguration
impl CustomFilterConfiguration
sourcepub fn match_operator(&self) -> Option<&CategoryFilterMatchOperator>
pub fn match_operator(&self) -> Option<&CategoryFilterMatchOperator>
The match operator that is used to determine if a filter should be applied.
sourcepub fn category_value(&self) -> Option<&str>
pub fn category_value(&self) -> Option<&str>
The category value for the filter.
This field is mutually exclusive to ParameterName
.
sourcepub fn select_all_options(&self) -> Option<&CategoryFilterSelectAllOptions>
pub fn select_all_options(&self) -> Option<&CategoryFilterSelectAllOptions>
Select all of the values. Null is not the assigned value of select all.
-
FILTER_ALL_VALUES
sourcepub fn parameter_name(&self) -> Option<&str>
pub fn parameter_name(&self) -> Option<&str>
The parameter whose value should be used for the filter value.
This field is mutually exclusive to CategoryValue
.
sourcepub fn null_option(&self) -> Option<&FilterNullOption>
pub fn null_option(&self) -> Option<&FilterNullOption>
This option determines how null values should be treated when filtering data.
-
ALL_VALUES
: Include null values in filtered results. -
NULLS_ONLY
: Only include null values in filtered results. -
NON_NULLS_ONLY
: Exclude null values from filtered results.
source§impl CustomFilterConfiguration
impl CustomFilterConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomFilterConfiguration
.
Trait Implementations§
source§impl Clone for CustomFilterConfiguration
impl Clone for CustomFilterConfiguration
source§fn clone(&self) -> CustomFilterConfiguration
fn clone(&self) -> CustomFilterConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomFilterConfiguration
impl Debug for CustomFilterConfiguration
source§impl PartialEq<CustomFilterConfiguration> for CustomFilterConfiguration
impl PartialEq<CustomFilterConfiguration> for CustomFilterConfiguration
source§fn eq(&self, other: &CustomFilterConfiguration) -> bool
fn eq(&self, other: &CustomFilterConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.