pub struct CellFormatEntry {
pub cell: String,
pub format: Option<CellFormatSnapshot>,
pub note: Option<String>,
pub data_validation: Option<DataValidationRule>,
}Expand description
One non-default cell’s formatting, note and/or data validation rule.
A cell present in the response but carrying none of the three — the
common case for most of a real range — is never turned into an entry;
see [entries_from_grid].
Fields§
§cell: StringThe cell’s absolute A1 address within its sheet (e.g. "B3").
format: Option<CellFormatSnapshot>The cell’s user-entered format, when it carries a non-default one.
note: Option<String>The cell’s note, when it has one.
data_validation: Option<DataValidationRule>The cell’s data validation rule, when it has one.
Trait Implementations§
Source§impl Clone for CellFormatEntry
impl Clone for CellFormatEntry
Source§impl Debug for CellFormatEntry
impl Debug for CellFormatEntry
Source§impl PartialEq for CellFormatEntry
impl PartialEq for CellFormatEntry
Source§impl Serialize for CellFormatEntry
impl Serialize for CellFormatEntry
impl StructuralPartialEq for CellFormatEntry
Auto Trait Implementations§
impl Freeze for CellFormatEntry
impl RefUnwindSafe for CellFormatEntry
impl Send for CellFormatEntry
impl Sync for CellFormatEntry
impl Unpin for CellFormatEntry
impl UnsafeUnpin for CellFormatEntry
impl UnwindSafe for CellFormatEntry
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<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