pub struct InsertSectionBreakRequest {
pub end_of_segment_location: Option<EndOfSegmentLocation>,
pub location: Option<Location>,
pub section_type: Option<String>,
}Expand description
Inserts a section break at the given location. A newline character will be inserted before the section break.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_of_segment_location: Option<EndOfSegmentLocation>Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be inserted inside the body, the segment ID field must be empty.
location: Option<Location>Inserts a newline and a section break at a specific index in the document. The section break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table’s start index (i.e. between the table and its preceding paragraph). Section breaks cannot be inserted inside a table, equation, footnote, header, or footer. Since section breaks can only be inserted inside the body, the segment ID field must be empty.
section_type: Option<String>The type of section to insert.
Trait Implementations§
Source§impl Clone for InsertSectionBreakRequest
impl Clone for InsertSectionBreakRequest
Source§fn clone(&self) -> InsertSectionBreakRequest
fn clone(&self) -> InsertSectionBreakRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more