pub struct DuplicateSheetRequest {
pub source_sheet_id: i64,
pub insert_sheet_index: Option<i64>,
pub new_sheet_name: Option<String>,
}Expand description
DuplicateSheetRequest.
Fields§
§source_sheet_id: i64The sheet to copy.
insert_sheet_index: Option<i64>Where the copy lands. None takes Sheets’ own default — confirmed
against the live API to be the front of the workbook (index 0),
unlike NewSheetProperties::index, whose None really does
append.
new_sheet_name: Option<String>The copy’s title. None takes Sheets’ own “Copy of X” default.
Trait Implementations§
Source§impl Clone for DuplicateSheetRequest
impl Clone for DuplicateSheetRequest
Source§impl Debug for DuplicateSheetRequest
impl Debug for DuplicateSheetRequest
impl Eq for DuplicateSheetRequest
Source§impl PartialEq for DuplicateSheetRequest
impl PartialEq for DuplicateSheetRequest
Source§impl Serialize for DuplicateSheetRequest
impl Serialize for DuplicateSheetRequest
impl StructuralPartialEq for DuplicateSheetRequest
Auto Trait Implementations§
impl Freeze for DuplicateSheetRequest
impl RefUnwindSafe for DuplicateSheetRequest
impl Send for DuplicateSheetRequest
impl Sync for DuplicateSheetRequest
impl Unpin for DuplicateSheetRequest
impl UnsafeUnpin for DuplicateSheetRequest
impl UnwindSafe for DuplicateSheetRequest
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