Struct google_docs1::api::PageBreak
source · pub struct PageBreak {
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 page break. A page break makes the subsequent text start at the top of the next page.
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 PageBreak 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 PageBreak, keyed by suggestion ID.
text_style: Option<TextStyle>
The text style of this PageBreak. Similar to text content, like text runs and footnote references, the text style of a page break can affect content layout as well as the styling of text inserted next to it.
Trait Implementations§
source§impl<'de> Deserialize<'de> for PageBreak
impl<'de> Deserialize<'de> for PageBreak
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
impl Part for PageBreak
Auto Trait Implementations§
impl RefUnwindSafe for PageBreak
impl Send for PageBreak
impl Sync for PageBreak
impl Unpin for PageBreak
impl UnwindSafe for PageBreak
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