pub struct DashboardBodyPropsBuilder<'__a, __d = d, __live = live, __metric = metric, __base = base, __click_bucket = click_bucket, __click_project = click_project> { /* private fields */ }Expand description
Typestate builder for DashboardBodyProps, created by DashboardBodyProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
Sourcepub fn d(
self,
d: &'__a Dashboard,
) -> DashboardBodyPropsBuilder<'__a, Set, __live, __metric, __base, __click_bucket, __click_project>
pub fn d( self, d: &'__a Dashboard, ) -> DashboardBodyPropsBuilder<'__a, Set, __live, __metric, __base, __click_bucket, __click_project>
Sets the d property.
Sourcepub fn live(
self,
live: bool,
) -> DashboardBodyPropsBuilder<'__a, __d, Set, __metric, __base, __click_bucket, __click_project>
pub fn live( self, live: bool, ) -> DashboardBodyPropsBuilder<'__a, __d, Set, __metric, __base, __click_bucket, __click_project>
Sets the live property.
Sourcepub fn metric(
self,
metric: Metric,
) -> DashboardBodyPropsBuilder<'__a, __d, __live, Set, __base, __click_bucket, __click_project>
pub fn metric( self, metric: Metric, ) -> DashboardBodyPropsBuilder<'__a, __d, __live, Set, __base, __click_bucket, __click_project>
Sets the metric property.
Sourcepub fn base(
self,
base: &'__a str,
) -> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, Set, __click_bucket, __click_project>
pub fn base( self, base: &'__a str, ) -> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, Set, __click_bucket, __click_project>
Sets the base property.
Sourcepub fn click_bucket(
self,
click_bucket: Option<&'__a Signal<String>>,
) -> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, Set, __click_project>
pub fn click_bucket( self, click_bucket: Option<&'__a Signal<String>>, ) -> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, Set, __click_project>
Sets the click_bucket property.
Sourcepub fn click_project(
self,
click_project: Option<&'__a Signal<String>>,
) -> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, Set>
pub fn click_project( self, click_project: Option<&'__a Signal<String>>, ) -> DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, Set>
Sets the click_project property.
Sourcepub fn build(self) -> DashboardBodyProps<'__a>
pub fn build(self) -> DashboardBodyProps<'__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, __d, __live, __metric, __base, __click_bucket, __click_project> Freeze for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> RefUnwindSafe for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> Send for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> Sync for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> Unpin for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> UnsafeUnpin for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
impl<'__a, __d, __live, __metric, __base, __click_bucket, __click_project> UnwindSafe for DashboardBodyPropsBuilder<'__a, __d, __live, __metric, __base, __click_bucket, __click_project>
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