pub struct EmbeddedObject {
pub description: Option<String>,
pub embedded_drawing_properties: Option<EmbeddedDrawingProperties>,
pub embedded_object_border: Option<EmbeddedObjectBorder>,
pub image_properties: Option<ImageProperties>,
pub linked_content_reference: Option<LinkedContentReference>,
pub margin_bottom: Option<Dimension>,
pub margin_left: Option<Dimension>,
pub margin_right: Option<Dimension>,
pub margin_top: Option<Dimension>,
pub size: Option<Size>,
pub title: Option<String>,
}
Expand description
An embedded object in the document.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<String>
The description of the embedded object. The title
and description
are both combined to display alt text.
embedded_drawing_properties: Option<EmbeddedDrawingProperties>
The properties of an embedded drawing.
embedded_object_border: Option<EmbeddedObjectBorder>
The border of the embedded object.
image_properties: Option<ImageProperties>
The properties of an image.
linked_content_reference: Option<LinkedContentReference>
A reference to the external linked source content. For example, it contains a reference to the source Google Sheets chart when the embedded object is a linked chart. If unset, then the embedded object is not linked.
margin_bottom: Option<Dimension>
The bottom margin of the embedded object.
margin_left: Option<Dimension>
The left margin of the embedded object.
margin_right: Option<Dimension>
The right margin of the embedded object.
margin_top: Option<Dimension>
The top margin of the embedded object.
size: Option<Size>
The visible size of the image after cropping.
title: Option<String>
The title of the embedded object. The title
and description
are both combined to display alt text.
Trait Implementations§
Source§impl Clone for EmbeddedObject
impl Clone for EmbeddedObject
Source§fn clone(&self) -> EmbeddedObject
fn clone(&self) -> EmbeddedObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EmbeddedObject
impl Debug for EmbeddedObject
Source§impl Default for EmbeddedObject
impl Default for EmbeddedObject
Source§fn default() -> EmbeddedObject
fn default() -> EmbeddedObject
Source§impl<'de> Deserialize<'de> for EmbeddedObject
impl<'de> Deserialize<'de> for EmbeddedObject
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 Serialize for EmbeddedObject
impl Serialize for EmbeddedObject
impl Part for EmbeddedObject
Auto Trait Implementations§
impl Freeze for EmbeddedObject
impl RefUnwindSafe for EmbeddedObject
impl Send for EmbeddedObject
impl Sync for EmbeddedObject
impl Unpin for EmbeddedObject
impl UnwindSafe for EmbeddedObject
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