#[non_exhaustive]pub struct BodySectionConfigurationBuilder { /* private fields */ }Expand description
A builder for BodySectionConfiguration.
Implementations§
source§impl BodySectionConfigurationBuilder
impl BodySectionConfigurationBuilder
sourcepub fn section_id(self, input: impl Into<String>) -> Self
pub fn section_id(self, input: impl Into<String>) -> Self
The unique identifier of a body section.
sourcepub fn set_section_id(self, input: Option<String>) -> Self
pub fn set_section_id(self, input: Option<String>) -> Self
The unique identifier of a body section.
sourcepub fn content(self, input: BodySectionContent) -> Self
pub fn content(self, input: BodySectionContent) -> Self
The configuration of content in a body section.
sourcepub fn set_content(self, input: Option<BodySectionContent>) -> Self
pub fn set_content(self, input: Option<BodySectionContent>) -> Self
The configuration of content in a body section.
sourcepub fn style(self, input: SectionStyle) -> Self
pub fn style(self, input: SectionStyle) -> Self
The style options of a body section.
sourcepub fn set_style(self, input: Option<SectionStyle>) -> Self
pub fn set_style(self, input: Option<SectionStyle>) -> Self
The style options of a body section.
sourcepub fn page_break_configuration(
self,
input: SectionPageBreakConfiguration
) -> Self
pub fn page_break_configuration( self, input: SectionPageBreakConfiguration ) -> Self
The configuration of a page break for a section.
sourcepub fn set_page_break_configuration(
self,
input: Option<SectionPageBreakConfiguration>
) -> Self
pub fn set_page_break_configuration( self, input: Option<SectionPageBreakConfiguration> ) -> Self
The configuration of a page break for a section.
sourcepub fn build(self) -> BodySectionConfiguration
pub fn build(self) -> BodySectionConfiguration
Consumes the builder and constructs a BodySectionConfiguration.
Trait Implementations§
source§impl Clone for BodySectionConfigurationBuilder
impl Clone for BodySectionConfigurationBuilder
source§fn clone(&self) -> BodySectionConfigurationBuilder
fn clone(&self) -> BodySectionConfigurationBuilder
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 Default for BodySectionConfigurationBuilder
impl Default for BodySectionConfigurationBuilder
source§fn default() -> BodySectionConfigurationBuilder
fn default() -> BodySectionConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BodySectionConfigurationBuilder> for BodySectionConfigurationBuilder
impl PartialEq<BodySectionConfigurationBuilder> for BodySectionConfigurationBuilder
source§fn eq(&self, other: &BodySectionConfigurationBuilder) -> bool
fn eq(&self, other: &BodySectionConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.