Struct google_docs1::api::HorizontalRule[][src]

pub struct HorizontalRule {
    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 representing a horizontal line.

This type is not used in any activity, and only used as part of another schema.

Fields

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. A HorizontalRule 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 HorizontalRule, keyed by suggestion ID.

text_style: Option<TextStyle>

The text style of this HorizontalRule. Similar to text content, like text runs and footnote references, the text style of a horizontal rule can affect content layout as well as the styling of text inserted adjacent to it.

Trait Implementations

impl Clone for HorizontalRule[src]

impl Debug for HorizontalRule[src]

impl Default for HorizontalRule[src]

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

impl Part for HorizontalRule[src]

impl Serialize for HorizontalRule[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.