Struct google_docs1::api::InlineObjectElement
source · pub struct InlineObjectElement {
pub inline_object_id: Option<String>,
pub suggested_deletion_ids: Option<Vec<String>>,
pub suggested_insertion_ids: Option<Vec<String>>,
pub suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>,
pub text_style: Option<TextStyle>,
}
Expand description
A ParagraphElement that contains an InlineObject.
This type is not used in any activity, and only used as part of another schema.
Fields§
§inline_object_id: Option<String>
The ID of the InlineObject this element contains.
suggested_deletion_ids: Option<Vec<String>>
The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
suggested_insertion_ids: Option<Vec<String>>
The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs if it’s a nested suggested change. If empty, then this is not a suggested insertion.
suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>
The suggested text style changes to this InlineObject, keyed by suggestion ID.
text_style: Option<TextStyle>
The text style of this InlineObjectElement. Similar to text content, like text runs and footnote references, the text style of an inline object element can affect content layout as well as the styling of text inserted next to it.
Trait Implementations§
source§impl Clone for InlineObjectElement
impl Clone for InlineObjectElement
source§fn clone(&self) -> InlineObjectElement
fn clone(&self) -> InlineObjectElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InlineObjectElement
impl Debug for InlineObjectElement
source§impl Default for InlineObjectElement
impl Default for InlineObjectElement
source§fn default() -> InlineObjectElement
fn default() -> InlineObjectElement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InlineObjectElement
impl<'de> Deserialize<'de> for InlineObjectElement
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for InlineObjectElement
impl Serialize for InlineObjectElement
impl Part for InlineObjectElement
Auto Trait Implementations§
impl RefUnwindSafe for InlineObjectElement
impl Send for InlineObjectElement
impl Sync for InlineObjectElement
impl Unpin for InlineObjectElement
impl UnwindSafe for InlineObjectElement
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