pub struct NewSheetProperties {
pub title: String,
pub index: Option<i64>,
pub grid_properties: Option<GridProperties>,
}Expand description
The properties of a sheet being added.
Distinct from SheetProperties, which is a response type: this one
omits sheetId (the server assigns it) and every field is optional
except the title, so an omitted --rows inherits Sheets’ own default
rather than us inventing one.
Fields§
§title: StringThe new sheet’s title.
index: Option<i64>Zero-based position in the workbook. Omitted means “append”.
grid_properties: Option<GridProperties>Initial grid dimensions. Omitted means Sheets’ default (1000 x 26).
Trait Implementations§
Source§impl Clone for NewSheetProperties
impl Clone for NewSheetProperties
Source§impl Debug for NewSheetProperties
impl Debug for NewSheetProperties
Source§impl Default for NewSheetProperties
impl Default for NewSheetProperties
impl Eq for NewSheetProperties
Source§impl PartialEq for NewSheetProperties
impl PartialEq for NewSheetProperties
Source§impl Serialize for NewSheetProperties
impl Serialize for NewSheetProperties
impl StructuralPartialEq for NewSheetProperties
Auto Trait Implementations§
impl Freeze for NewSheetProperties
impl RefUnwindSafe for NewSheetProperties
impl Send for NewSheetProperties
impl Sync for NewSheetProperties
impl Unpin for NewSheetProperties
impl UnsafeUnpin for NewSheetProperties
impl UnwindSafe for NewSheetProperties
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