Struct google_docs1::api::HorizontalRule
source · [−]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>,
}Expand description
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
sourceimpl Clone for HorizontalRule
impl Clone for HorizontalRule
sourcefn clone(&self) -> HorizontalRule
fn clone(&self) -> HorizontalRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HorizontalRule
impl Debug for HorizontalRule
sourceimpl Default for HorizontalRule
impl Default for HorizontalRule
sourcefn default() -> HorizontalRule
fn default() -> HorizontalRule
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HorizontalRule
impl<'de> Deserialize<'de> for HorizontalRule
sourcefn 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
sourceimpl Serialize for HorizontalRule
impl Serialize for HorizontalRule
impl Part for HorizontalRule
Auto Trait Implementations
impl RefUnwindSafe for HorizontalRule
impl Send for HorizontalRule
impl Sync for HorizontalRule
impl Unpin for HorizontalRule
impl UnwindSafe for HorizontalRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more