pub enum PivotVerb {
AddPivotTable {
sheet: String,
anchor: String,
source: String,
rows: Vec<String>,
columns: Vec<String>,
values: Vec<String>,
filters: Vec<String>,
value_layout: Option<ValueLayout>,
show_totals: bool,
},
DeletePivotTable {
sheet: String,
anchor: String,
},
}Expand description
Which pivot-table mutation to perform.
Variants§
AddPivotTable
Write a new pivot table at anchor, refused if one is already
there.
Fields
§
source: StringThe pivot’s source range — may carry its own Sheet! prefix
(a pivot commonly sources from a different tab than it’s
anchored on); falls back to sheet when it doesn’t.
§
value_layout: Option<ValueLayout>--value-layout, if given.
DeletePivotTable
Clear the pivot table at anchor, refused if there isn’t one.
Trait Implementations§
impl Eq for PivotVerb
impl StructuralPartialEq for PivotVerb
Auto Trait Implementations§
impl Freeze for PivotVerb
impl RefUnwindSafe for PivotVerb
impl Send for PivotVerb
impl Sync for PivotVerb
impl Unpin for PivotVerb
impl UnsafeUnpin for PivotVerb
impl UnwindSafe for PivotVerb
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