pub struct BatchUpdateReply {
pub find_replace: Option<FindReplaceResponse>,
pub add_sheet: Option<AddSheetReply>,
pub duplicate_sheet: Option<AddSheetReply>,
pub add_protected_range: Option<AddProtectedRangeReply>,
pub add_filter_view: Option<AddFilterViewReply>,
pub add_named_range: Option<AddNamedRangeReply>,
pub add_chart: Option<AddChartReply>,
pub add_slicer: Option<AddSlicerReply>,
pub add_banding: Option<AddBandingReply>,
pub trim_whitespace: Option<TrimWhitespaceResponse>,
pub delete_duplicates: Option<DeleteDuplicatesResponse>,
}Expand description
One reply within a BatchUpdateResponse.
PartialEq-only, not Eq (issue #1797): AddChartReply embeds a
ChartSpec, which can carry a PieChartSpec::pie_hole (f64) — the
same reason Spreadsheet lost Eq in #1793.
Fields§
§find_replace: Option<FindReplaceResponse>Present only for a findReplace request (issue #1841).
add_sheet: Option<AddSheetReply>Present only for an addSheet request.
duplicate_sheet: Option<AddSheetReply>Present only for a duplicateSheet request. Same wire shape as
addSheet’s reply ({"properties": {...}}), so it reuses
AddSheetReply rather than a near-identical twin type.
add_protected_range: Option<AddProtectedRangeReply>Present only for an addProtectedRange request — carries the
server-assigned protectedRangeId, only knowable from the reply.
add_filter_view: Option<AddFilterViewReply>Present only for an addFilterView request — carries the
server-assigned filterViewId, only knowable from the reply
(issue #1794).
add_named_range: Option<AddNamedRangeReply>Present only for an addNamedRange request — carries the
server-assigned namedRangeId, only knowable from the reply.
add_chart: Option<AddChartReply>Present only for an addChart request — carries the server-assigned
chartId, only knowable from the reply (issue #1797).
add_slicer: Option<AddSlicerReply>Present only for an addSlicer request — carries the
server-assigned slicerId, only knowable from the reply
(issue #1797).
add_banding: Option<AddBandingReply>Present only for an addBanding request — carries the
server-assigned bandedRangeId, only knowable from the reply
(issue #1832).
trim_whitespace: Option<TrimWhitespaceResponse>Present only for a trimWhitespace request (issue #1844).
delete_duplicates: Option<DeleteDuplicatesResponse>Present only for a deleteDuplicates request (issue #1844).
Trait Implementations§
Source§impl Clone for BatchUpdateReply
impl Clone for BatchUpdateReply
Source§impl Debug for BatchUpdateReply
impl Debug for BatchUpdateReply
Source§impl Default for BatchUpdateReply
impl Default for BatchUpdateReply
Source§impl<'de> Deserialize<'de> for BatchUpdateReply
impl<'de> Deserialize<'de> for BatchUpdateReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for BatchUpdateReply
impl PartialEq for BatchUpdateReply
impl StructuralPartialEq for BatchUpdateReply
Auto Trait Implementations§
impl Freeze for BatchUpdateReply
impl RefUnwindSafe for BatchUpdateReply
impl Send for BatchUpdateReply
impl Sync for BatchUpdateReply
impl Unpin for BatchUpdateReply
impl UnsafeUnpin for BatchUpdateReply
impl UnwindSafe for BatchUpdateReply
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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