Struct google_sheets4::api::FilterCriteria[][src]

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

hidden_values: Option<Vec<String>>

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.

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.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.