pub struct ReportTablePropsBuilder<'__a, __report = report, __currency = currency> { /* private fields */ }Expand description
Typestate builder for ReportTableProps, created by ReportTableProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl<'__a, __report, __currency> ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> ReportTablePropsBuilder<'__a, __report, __currency>
Sourcepub fn report(
self,
report: &'__a [ReportRow],
) -> ReportTablePropsBuilder<'__a, Set, __currency>
pub fn report( self, report: &'__a [ReportRow], ) -> ReportTablePropsBuilder<'__a, Set, __currency>
Sets the report property.
Sourcepub fn currency(
self,
currency: Currency,
) -> ReportTablePropsBuilder<'__a, __report, Set>
pub fn currency( self, currency: Currency, ) -> ReportTablePropsBuilder<'__a, __report, Set>
Sets the currency property.
Sourcepub fn build(self) -> ReportTableProps<'__a>
pub fn build(self) -> ReportTableProps<'__a>
Builds the props struct from the set properties.
Only available once every required property has been set.
#[default] properties that were not set are filled with
Default::default(), or the #[default(expr)] expression.
Auto Trait Implementations§
impl<'__a, __report, __currency> Freeze for ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> RefUnwindSafe for ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> Send for ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> Sync for ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> Unpin for ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> UnsafeUnpin for ReportTablePropsBuilder<'__a, __report, __currency>
impl<'__a, __report, __currency> UnwindSafe for ReportTablePropsBuilder<'__a, __report, __currency>
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