pub struct DashboardView<'a> {
pub name: &'a str,
pub board: &'a BoardConfiguration,
pub editor: Option<&'a str>,
pub viewer: &'a str,
}Expand description
The dashboards section’s data: the active board, its name, and the
$EDITOR override. Bundled so the render entry points stay within a sane
argument count.
Fields§
§name: &'a strThe active board’s name.
board: &'a BoardConfigurationThe active board’s configuration.
editor: Option<&'a str>The configured editor override, if any.
viewer: &'a strThe Viewer row’s label: the configured override, or the resolved auto viewer (tix #1507).
Trait Implementations§
Source§impl<'a> Clone for DashboardView<'a>
impl<'a> Clone for DashboardView<'a>
impl<'a> Copy for DashboardView<'a>
Auto Trait Implementations§
impl<'a> Freeze for DashboardView<'a>
impl<'a> RefUnwindSafe for DashboardView<'a>
impl<'a> Send for DashboardView<'a>
impl<'a> Sync for DashboardView<'a>
impl<'a> Unpin for DashboardView<'a>
impl<'a> UnsafeUnpin for DashboardView<'a>
impl<'a> UnwindSafe for DashboardView<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more