pub struct FilterCriteria {
pub condition: Option<BooleanCondition>,
pub hidden_values: Option<Vec<String>>,
pub visible_background_color: Option<Color>,
pub visible_background_color_style: Option<ColorStyle>,
pub visible_foreground_color: Option<Color>,
pub visible_foreground_color_style: Option<ColorStyle>,
}
Expand description
Criteria for showing/hiding rows in a filter or filter view.
This type is not used in any activity, and only used as part of another schema.
Fields§
§condition: Option<BooleanCondition>
A condition that must be true for values to be shown. (This does not override hidden_values – if a value is listed there, it will still be hidden.)
Values that should be hidden.
visible_background_color: Option<Color>
The background fill color to filter by; only cells with this fill color are shown. Mutually exclusive with visible_foreground_color. Deprecated: Use visible_background_color_style.
visible_background_color_style: Option<ColorStyle>
The background fill color to filter by; only cells with this fill color are shown. This field is mutually exclusive with visible_foreground_color, and must be set to an RGB-type color. If visible_background_color is also set, this field takes precedence.
visible_foreground_color: Option<Color>
The foreground color to filter by; only cells with this foreground color are shown. Mutually exclusive with visible_background_color. Deprecated: Use visible_foreground_color_style.
visible_foreground_color_style: Option<ColorStyle>
The foreground color to filter by; only cells with this foreground color are shown. This field is mutually exclusive with visible_background_color, and must be set to an RGB-type color. If visible_foreground_color is also set, this field takes precedence.
Trait Implementations§
Source§impl Clone for FilterCriteria
impl Clone for FilterCriteria
Source§fn clone(&self) -> FilterCriteria
fn clone(&self) -> FilterCriteria
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FilterCriteria
impl Debug for FilterCriteria
Source§impl Default for FilterCriteria
impl Default for FilterCriteria
Source§fn default() -> FilterCriteria
fn default() -> FilterCriteria
Source§impl<'de> Deserialize<'de> for FilterCriteria
impl<'de> Deserialize<'de> for FilterCriteria
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for FilterCriteria
impl Serialize for FilterCriteria
impl Part for FilterCriteria
Auto Trait Implementations§
impl Freeze for FilterCriteria
impl RefUnwindSafe for FilterCriteria
impl Send for FilterCriteria
impl Sync for FilterCriteria
impl Unpin for FilterCriteria
impl UnwindSafe for FilterCriteria
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§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