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 next to it.
Trait Implementations§
source§impl Clone for HorizontalRule
impl Clone for HorizontalRule
source§fn clone(&self) -> HorizontalRule
fn clone(&self) -> HorizontalRule
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 HorizontalRule
impl Debug for HorizontalRule
source§impl Default for HorizontalRule
impl Default for HorizontalRule
source§fn default() -> HorizontalRule
fn default() -> HorizontalRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HorizontalRule
impl<'de> Deserialize<'de> for HorizontalRule
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 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§
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