pub struct Figure {
pub label: &'static str,
pub value: String,
pub of: Option<String>,
pub notes: Vec<String>,
pub tone: Tone,
}Expand description
One of the overview’s four health figures, worded once for every client: the web dashboard lays them out as tiles, the TUI on one line.
Fields§
§label: &'static strWhat it counts: Running, Waiting, Wait p95, 24 h or Failed, 24 h.
value: StringThe figure itself.
of: Option<String>What it is out of, such as of 6 slots.
notes: Vec<String>What qualifies it, most telling first.
tone: ToneWhat it means.
Trait Implementations§
impl Eq for Figure
impl StructuralPartialEq for Figure
Auto Trait Implementations§
impl Freeze for Figure
impl RefUnwindSafe for Figure
impl Send for Figure
impl Sync for Figure
impl Unpin for Figure
impl UnsafeUnpin for Figure
impl UnwindSafe for Figure
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.