pub struct UpdateEmbeddedObjectPositionRequest {
pub fields: Option<FieldMask>,
pub new_position: Option<EmbeddedObjectPosition>,
pub object_id: Option<i32>,
}
Expand description
Update an embedded object’s position (such as a moving or resizing a chart or image).
This type is not used in any activity, and only used as part of another schema.
Fields§
§fields: Option<FieldMask>
The fields of OverlayPosition that should be updated when setting a new position. Used only if newPosition.overlayPosition is set, in which case at least one field must be specified. The root newPosition.overlayPosition
is implied and should not be specified. A single "*"
can be used as short-hand for listing every field.
new_position: Option<EmbeddedObjectPosition>
An explicit position to move the embedded object to. If newPosition.sheetId is set, a new sheet with that ID will be created. If newPosition.newSheet is set to true, a new sheet will be created with an ID that will be chosen for you.
object_id: Option<i32>
The ID of the object to moved.
Trait Implementations§
Source§impl Clone for UpdateEmbeddedObjectPositionRequest
impl Clone for UpdateEmbeddedObjectPositionRequest
Source§fn clone(&self) -> UpdateEmbeddedObjectPositionRequest
fn clone(&self) -> UpdateEmbeddedObjectPositionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for UpdateEmbeddedObjectPositionRequest
impl Default for UpdateEmbeddedObjectPositionRequest
Source§fn default() -> UpdateEmbeddedObjectPositionRequest
fn default() -> UpdateEmbeddedObjectPositionRequest
Source§impl<'de> Deserialize<'de> for UpdateEmbeddedObjectPositionRequest
impl<'de> Deserialize<'de> for UpdateEmbeddedObjectPositionRequest
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>,
impl Part 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 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<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