pub struct ProjectsTablePropsBuilder<'__a, __projects = projects, __currency = currency> { /* private fields */ }Expand description
Typestate builder for ProjectsTableProps, created by ProjectsTableProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl<'__a, __projects, __currency> ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> ProjectsTablePropsBuilder<'__a, __projects, __currency>
Sourcepub fn projects(
self,
projects: &'__a [(String, Summary)],
) -> ProjectsTablePropsBuilder<'__a, Set, __currency>
pub fn projects( self, projects: &'__a [(String, Summary)], ) -> ProjectsTablePropsBuilder<'__a, Set, __currency>
Sets the projects property.
Sourcepub fn currency(
self,
currency: Currency,
) -> ProjectsTablePropsBuilder<'__a, __projects, Set>
pub fn currency( self, currency: Currency, ) -> ProjectsTablePropsBuilder<'__a, __projects, Set>
Sets the currency property.
Sourcepub fn build(self) -> ProjectsTableProps<'__a>
pub fn build(self) -> ProjectsTableProps<'__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, __projects, __currency> Freeze for ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> RefUnwindSafe for ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> Send for ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> Sync for ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> Unpin for ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> UnsafeUnpin for ProjectsTablePropsBuilder<'__a, __projects, __currency>
impl<'__a, __projects, __currency> UnwindSafe for ProjectsTablePropsBuilder<'__a, __projects, __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