[][src]Struct google_sheets4::SlicerSpec

pub struct SlicerSpec {
    pub apply_to_pivot_tables: Option<bool>,
    pub data_range: Option<GridRange>,
    pub title: Option<String>,
    pub background_color_style: Option<ColorStyle>,
    pub column_index: Option<i32>,
    pub horizontal_alignment: Option<String>,
    pub background_color: Option<Color>,
    pub text_format: Option<TextFormat>,
    pub filter_criteria: Option<FilterCriteria>,
}

The specifications of a slicer.

This type is not used in any activity, and only used as part of another schema.

Fields

apply_to_pivot_tables: Option<bool>

True if the filter should apply to pivot tables. If not set, default to True.

data_range: Option<GridRange>

The data range of the slicer.

title: Option<String>

The title of the slicer.

background_color_style: Option<ColorStyle>

The background color of the slicer. If background_color is also set, this field takes precedence.

column_index: Option<i32>

The column index in the data table on which the filter is applied to.

horizontal_alignment: Option<String>

The horizontal alignment of title in the slicer. If unspecified, defaults to LEFT

background_color: Option<Color>

The background color of the slicer.

text_format: Option<TextFormat>

The text format of title in the slicer.

filter_criteria: Option<FilterCriteria>

The filtering criteria of the slicer.

Trait Implementations

impl Clone for SlicerSpec[src]

impl Debug for SlicerSpec[src]

impl Default for SlicerSpec[src]

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

impl Part for SlicerSpec[src]

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