[][src]Struct google_sheets4::FilterView

pub struct FilterView {
    pub range: Option<GridRange>,
    pub sort_specs: Option<Vec<SortSpec>>,
    pub title: Option<String>,
    pub named_range_id: Option<String>,
    pub criteria: Option<HashMap<String, FilterCriteria>>,
    pub filter_view_id: Option<i32>,
}

A filter view.

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

Fields

range: Option<GridRange>

The range this filter view covers.

When writing, only one of range or named_range_id may be set.

sort_specs: Option<Vec<SortSpec>>

The sort order per column. Later specifications are used when values are equal in the earlier specifications.

title: Option<String>

The name of the filter view.

named_range_id: Option<String>

The named range this filter view is backed by, if any.

When writing, only one of range or named_range_id may be set.

criteria: Option<HashMap<String, FilterCriteria>>

The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column.

filter_view_id: Option<i32>

The ID of the filter view.

Trait Implementations

impl Clone for FilterView[src]

impl Debug for FilterView[src]

impl Default for FilterView[src]

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

impl Part for FilterView[src]

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