[][src]Struct google_sheets4::FilterCriteria

pub struct FilterCriteria {
    pub visible_background_color: Option<Color>,
    pub hidden_values: Option<Vec<String>>,
    pub visible_background_color_style: Option<ColorStyle>,
    pub visible_foreground_color_style: Option<ColorStyle>,
    pub visible_foreground_color: Option<Color>,
    pub condition: Option<BooleanCondition>,
}

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

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.

hidden_values: Option<Vec<String>>

Values that should be hidden.

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_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.

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.

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.)

Trait Implementations

impl Clone for FilterCriteria[src]

impl Debug for FilterCriteria[src]

impl Default for FilterCriteria[src]

impl<'de> Deserialize<'de> for FilterCriteria[src]

impl Part for FilterCriteria[src]

impl Serialize for FilterCriteria[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any