pub struct PasteChange {
pub destination: String,
pub source: Option<String>,
pub written_extent: String,
pub overwritten: Option<Vec<String>>,
pub cleared: Option<Vec<String>>,
pub grid_edge_caveat: Option<String>,
}Expand description
The substance of a WouldChange/Changed outcome.
Fields§
§destination: StringThe destination, composed with its sheet.
source: Option<String>cut-paste/copy-paste only: the source, composed with its sheet.
written_extent: StringThe A1 extent that would be (or was) written into, computed from the request plus the workbook’s structure alone — always known (ADR-0083 §6), unlike the values within it.
overwritten: Option<Vec<String>>Non-blank cells within written_extent that would be (or were)
overwritten, as "A1" addresses — never their values. None when
paste_type writes no cell content, so no values were read.
cleared: Option<Vec<String>>cut-paste only: the non-blank cells within source that get
cleared, as "A1" addresses.
grid_edge_caveat: Option<String>Set when written_extent runs past the sheet’s currently allocated
rows/columns — verified live (#1937): the API grows the grid to
fit rather than erroring, for all three verbs. This names that
growth rather than an uncertainty.
Trait Implementations§
Source§impl Clone for PasteChange
impl Clone for PasteChange
Source§impl Debug for PasteChange
impl Debug for PasteChange
impl Eq for PasteChange
Source§impl PartialEq for PasteChange
impl PartialEq for PasteChange
Source§impl Serialize for PasteChange
impl Serialize for PasteChange
impl StructuralPartialEq for PasteChange
Auto Trait Implementations§
impl Freeze for PasteChange
impl RefUnwindSafe for PasteChange
impl Send for PasteChange
impl Sync for PasteChange
impl Unpin for PasteChange
impl UnsafeUnpin for PasteChange
impl UnwindSafe for PasteChange
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
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
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> ⓘ
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> ⓘ
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