pub struct UpdateEmbeddedObjectPositionRequest {
pub object_id: i64,
pub new_position: EmbeddedObjectPosition,
pub fields: String,
}Expand description
UpdateEmbeddedObjectPositionRequest — moves and/or resizes an existing
chart or slicer (move-chart/move-slicer, issue #1837).
The fields mask is rooted at newPosition.overlayPosition, not at
newPosition — the API’s own rule (“the root newPosition.overlayPosition
is implied and should not be specified”), and the one place this request
differs from every other masked request in this file, where the mask is
rooted at the request’s own payload field (cf. UpdateSlicerSpecRequest,
whose mask is rooted at spec). So a move sends anchorCell, never
overlayPosition.anchorCell. The mask is used only when
new_position.overlay_position is set — a newSheet move sends no
fields at all (skip_serializing_if = "String::is_empty"), since there
is nothing under overlayPosition to name.
Fields§
§object_id: i64Which chart or slicer to move.
new_position: EmbeddedObjectPositionThe position to write.
fields: StringThe field mask limiting what this request may change, relative to
newPosition.overlayPosition. Empty (and omitted on the wire) for a
--new-sheet move.
Trait Implementations§
impl Eq for UpdateEmbeddedObjectPositionRequest
impl StructuralPartialEq for UpdateEmbeddedObjectPositionRequest
Auto Trait Implementations§
impl Freeze for UpdateEmbeddedObjectPositionRequest
impl RefUnwindSafe for UpdateEmbeddedObjectPositionRequest
impl Send for UpdateEmbeddedObjectPositionRequest
impl Sync for UpdateEmbeddedObjectPositionRequest
impl Unpin for UpdateEmbeddedObjectPositionRequest
impl UnsafeUnpin for UpdateEmbeddedObjectPositionRequest
impl UnwindSafe for UpdateEmbeddedObjectPositionRequest
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,
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
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> ⓘ
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