pub enum FilterVerb {
SetBasicFilter {
sheet: String,
range: String,
sort_by: Vec<String>,
hide_values: Vec<String>,
},
ClearBasicFilter {
sheet: String,
},
AddFilterView {
sheet: String,
range: String,
title: Option<String>,
sort_by: Vec<String>,
hide_values: Vec<String>,
},
UpdateFilterView {
filter_view_id: i64,
sheet: Option<String>,
range: Option<String>,
title: Option<String>,
sort_by: Vec<String>,
hide_values: Vec<String>,
clear_sort: bool,
clear_criteria: bool,
},
DeleteFilterView {
filter_view_id: i64,
},
}Expand description
Which mutation to perform.
Variants§
SetBasicFilter
Upsert the basic filter on a sheet.
Fields
ClearBasicFilter
Remove a sheet’s basic filter.
AddFilterView
Add a named filter view.
Fields
UpdateFilterView
Change an existing filter view’s title, range, sort order, or hidden values.
Fields
§
sheet: Option<String>A sheet title, supplying a prefix for a bare range, when
changing the filtered range.
§
sort_by: Vec<String>Sort specs to merge in, replacing any existing entry sharing a column, else appending.
DeleteFilterView
Remove a filter view.
Trait Implementations§
Source§impl Clone for FilterVerb
impl Clone for FilterVerb
Source§impl Debug for FilterVerb
impl Debug for FilterVerb
impl Eq for FilterVerb
Source§impl PartialEq for FilterVerb
impl PartialEq for FilterVerb
impl StructuralPartialEq for FilterVerb
Auto Trait Implementations§
impl Freeze for FilterVerb
impl RefUnwindSafe for FilterVerb
impl Send for FilterVerb
impl Sync for FilterVerb
impl Unpin for FilterVerb
impl UnsafeUnpin for FilterVerb
impl UnwindSafe for FilterVerb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more