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