Struct google_sheets4::api::SortSpec [−][src]
pub struct SortSpec {
pub background_color: Option<Color>,
pub background_color_style: Option<ColorStyle>,
pub data_source_column_reference: Option<DataSourceColumnReference>,
pub dimension_index: Option<i32>,
pub foreground_color: Option<Color>,
pub foreground_color_style: Option<ColorStyle>,
pub sort_order: Option<String>,
}
Expand description
A sort order associated with a specific column or row.
This type is not used in any activity, and only used as part of another schema.
Fields
background_color: Option<Color>
The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color.
background_color_style: Option<ColorStyle>
The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color, and must be an RGB-type color. If background_color is also set, this field takes precedence.
data_source_column_reference: Option<DataSourceColumnReference>
Reference to a data source column.
dimension_index: Option<i32>
The dimension the sort should be applied to.
foreground_color: Option<Color>
The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color.
foreground_color_style: Option<ColorStyle>
The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color, and must be an RGB-type color. If foreground_color is also set, this field takes precedence.
sort_order: Option<String>
The order data should be sorted.
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SortSpec
impl UnwindSafe for SortSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more