Struct google_docs1::api::InlineObjectElement[][src]

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>,
}

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 is 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 adjacent to it.

Trait Implementations

impl Clone for InlineObjectElement[src]

impl Debug for InlineObjectElement[src]

impl Default for InlineObjectElement[src]

impl<'de> Deserialize<'de> for InlineObjectElement[src]

impl Part for InlineObjectElement[src]

impl Serialize for InlineObjectElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.