#[non_exhaustive]pub struct HeaderFooterSectionConfigurationBuilder { /* private fields */ }Expand description
A builder for HeaderFooterSectionConfiguration.
Implementations§
sourcepub fn section_id(self, input: impl Into<String>) -> Self
pub fn section_id(self, input: impl Into<String>) -> Self
The unique identifier of the header or footer 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 the header or footer section.
sourcepub fn layout(self, input: SectionLayoutConfiguration) -> Self
pub fn layout(self, input: SectionLayoutConfiguration) -> Self
The layout configuration of the header or footer section.
sourcepub fn set_layout(self, input: Option<SectionLayoutConfiguration>) -> Self
pub fn set_layout(self, input: Option<SectionLayoutConfiguration>) -> Self
The layout configuration of the header or footer section.
sourcepub fn style(self, input: SectionStyle) -> Self
pub fn style(self, input: SectionStyle) -> Self
The style options of a header or footer section.
sourcepub fn set_style(self, input: Option<SectionStyle>) -> Self
pub fn set_style(self, input: Option<SectionStyle>) -> Self
The style options of a header or footer section.
sourcepub fn build(self) -> HeaderFooterSectionConfiguration
pub fn build(self) -> HeaderFooterSectionConfiguration
Consumes the builder and constructs a HeaderFooterSectionConfiguration.
Trait Implementations§
source§fn clone(&self) -> HeaderFooterSectionConfigurationBuilder
fn clone(&self) -> HeaderFooterSectionConfigurationBuilder
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§fn default() -> HeaderFooterSectionConfigurationBuilder
fn default() -> HeaderFooterSectionConfigurationBuilder
Returns the “default value” for a type. Read more
source§fn eq(&self, other: &HeaderFooterSectionConfigurationBuilder) -> bool
fn eq(&self, other: &HeaderFooterSectionConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more