pub struct SheetSnapshot {
pub sheet_id: Option<i64>,
pub title: String,
pub row_count: Option<i64>,
pub column_count: Option<i64>,
pub frozen_row_count: Option<i64>,
pub frozen_column_count: Option<i64>,
pub right_to_left: Option<bool>,
pub hide_gridlines: Option<bool>,
}Expand description
The sheet a verb resolved to, plus its dimensions at that moment.
Captured before the mutation so describe can state the change
(“1000 rows -> 1003”) rather than only the request, which is the whole
point of a structural dry run.
Fields§
§sheet_id: Option<i64>The sheet’s stable numeric id.
title: StringIts title at the time of the attempt.
row_count: Option<i64>Allocated rows, when the API reported them.
column_count: Option<i64>Allocated columns, when the API reported them.
frozen_row_count: Option<i64>Rows frozen at the top, when the API reported them (issue #1835).
frozen_column_count: Option<i64>Columns frozen at the left, when the API reported them (issue #1835).
right_to_left: Option<bool>Whether the sheet is right-to-left, when the API reported it (issue #1835).
hide_gridlines: Option<bool>Whether gridlines are hidden, when the API reported it (issue #1835).
Trait Implementations§
Source§impl Clone for SheetSnapshot
impl Clone for SheetSnapshot
Source§impl Debug for SheetSnapshot
impl Debug for SheetSnapshot
Source§impl Default for SheetSnapshot
impl Default for SheetSnapshot
impl Eq for SheetSnapshot
Source§impl PartialEq for SheetSnapshot
impl PartialEq for SheetSnapshot
Source§impl Serialize for SheetSnapshot
impl Serialize for SheetSnapshot
impl StructuralPartialEq for SheetSnapshot
Auto Trait Implementations§
impl Freeze for SheetSnapshot
impl RefUnwindSafe for SheetSnapshot
impl Send for SheetSnapshot
impl Sync for SheetSnapshot
impl Unpin for SheetSnapshot
impl UnsafeUnpin for SheetSnapshot
impl UnwindSafe for SheetSnapshot
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