pub struct PivotChange {
pub anchor: String,
pub source: Option<String>,
pub config: Option<String>,
pub anchor_currently: String,
}Expand description
The substance of a WouldChange/Changed outcome — what would be (or
was) written, and what the anchor held beforehand.
Fields§
§anchor: StringThe anchor cell, composed with its sheet.
source: Option<String>add-pivot-table only: the pivot’s source range, composed with its
sheet.
config: Option<String>add-pivot-table only: a one-line summary of the rows/columns/
values/filters/layout/totals that would be configured.
anchor_currently: StringWhat the anchor cell held before this mutation — a plain value,
empty, or an existing pivot table’s own summary. Always known,
unlike the rendered extent — see the module doc’s --dry-run
paragraph.
Trait Implementations§
Source§impl Clone for PivotChange
impl Clone for PivotChange
Source§impl Debug for PivotChange
impl Debug for PivotChange
impl Eq for PivotChange
Source§impl PartialEq for PivotChange
impl PartialEq for PivotChange
Source§impl Serialize for PivotChange
impl Serialize for PivotChange
impl StructuralPartialEq for PivotChange
Auto Trait Implementations§
impl Freeze for PivotChange
impl RefUnwindSafe for PivotChange
impl Send for PivotChange
impl Sync for PivotChange
impl Unpin for PivotChange
impl UnsafeUnpin for PivotChange
impl UnwindSafe for PivotChange
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