pub struct UpdateChartSpecRequest {
pub chart_id: i64,
pub spec: ChartSpec,
}Expand description
UpdateChartSpecRequest.
No fields mask — unlike every other update request in this file,
Sheets’ updateChartSpec replaces the chart’s entire ChartSpec
wholesale; there is no way to name “just the title”. embedded_object.rs
fetches the existing spec, merges the caller’s flags onto it (preserving
every unmodelled field via extra), and sends the full result here —
the same reason update-filter-view computes a full sortSpecs/
criteria client-side, except here it isn’t optional: there is no
narrower request to fall back to.
Fields§
§chart_id: i64Which chart to update.
spec: ChartSpecThe chart’s new, complete spec.
Trait Implementations§
Source§impl Clone for UpdateChartSpecRequest
impl Clone for UpdateChartSpecRequest
Source§impl Debug for UpdateChartSpecRequest
impl Debug for UpdateChartSpecRequest
Source§impl PartialEq for UpdateChartSpecRequest
impl PartialEq for UpdateChartSpecRequest
Source§impl Serialize for UpdateChartSpecRequest
impl Serialize for UpdateChartSpecRequest
impl StructuralPartialEq for UpdateChartSpecRequest
Auto Trait Implementations§
impl Freeze for UpdateChartSpecRequest
impl RefUnwindSafe for UpdateChartSpecRequest
impl Send for UpdateChartSpecRequest
impl Sync for UpdateChartSpecRequest
impl Unpin for UpdateChartSpecRequest
impl UnsafeUnpin for UpdateChartSpecRequest
impl UnwindSafe for UpdateChartSpecRequest
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