pub struct DashboardBodyProps<'__a> {
pub d: &'__a Dashboard,
pub live: bool,
pub metric: Metric,
pub base: &'__a str,
pub click_bucket: Option<&'__a Signal<String>>,
pub click_project: Option<&'__a Signal<String>>,
}Expand description
Cards, report and project tables for one Dashboard snapshot.
live shows the “live” badge (the page has an open connection and is
refreshing itself).
Fields§
§d: &'__a Dashboard§live: bool§metric: Metric§base: &'__a str§click_bucket: Option<&'__a Signal<String>>§click_project: Option<&'__a Signal<String>>Implementations§
Source§impl<'__a> DashboardBodyProps<'__a>
impl<'__a> DashboardBodyProps<'__a>
Sourcepub fn builder() -> DashboardBodyPropsBuilder<'__a, d, live, metric, base, click_bucket, click_project>
pub fn builder() -> DashboardBodyPropsBuilder<'__a, d, live, metric, base, click_bucket, click_project>
Returns a DashboardBodyPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> Freeze for DashboardBodyProps<'__a>
impl<'__a> RefUnwindSafe for DashboardBodyProps<'__a>
impl<'__a> Send for DashboardBodyProps<'__a>
impl<'__a> Sync for DashboardBodyProps<'__a>
impl<'__a> Unpin for DashboardBodyProps<'__a>
impl<'__a> UnsafeUnpin for DashboardBodyProps<'__a>
impl<'__a> UnwindSafe for DashboardBodyProps<'__a>
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