[][src]Struct google_sheets4::SortSpec

pub struct SortSpec {
    pub background_color_style: Option<ColorStyle>,
    pub foreground_color: Option<Color>,
    pub sort_order: Option<String>,
    pub background_color: Option<Color>,
    pub foreground_color_style: Option<ColorStyle>,
    pub dimension_index: Option<i32>,
}

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

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.

sort_order: Option<String>

The order data should be sorted.

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.

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.

dimension_index: Option<i32>

The dimension the sort should be applied to.

Trait Implementations

impl Clone for SortSpec[src]

impl Debug for SortSpec[src]

impl Default for SortSpec[src]

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

impl Part for SortSpec[src]

impl Serialize for SortSpec[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