Struct FactorTile
pub struct FactorTile {
pub name: String,
pub headline: Option<f64>,
pub band: String,
pub series: Vec<f64>,
pub attention: bool,
pub detail: String,
pub numbers: Vec<(String, String)>,
}Expand description
One KPI dimension in the four-factor dashboard header.
Fields§
§name: StringDimension name: "Code", "Knowledge", "Architecture", or "Delivery".
headline: Option<f64>Current headline score 0–100 (higher = healthier).
None for the Delivery tile, which instead uses [numbers] to surface
the three proxy values directly rather than collapsing them into a
composite that would imply DORA-level measurement precision.
band: StringHealth band of the headline: "red", "yellow", or "green".
Empty string when headline is None.
series: Vec<f64>Historical series of headline values, oldest-first (may be empty → JS hides the sparkline).
attention: booltrue when the XmR chart signals a statistical excursion or
sustained run. See xmr_attention.
detail: StringOne-line human summary shown beneath the headline.
numbers: Vec<(String, String)>Key–value pairs rendered in place of the bullet bar when
headline is None. Each entry is (label, formatted_value),
e.g. ("rework %", "7.2") or ("cadence median d", "14").
Empty for all tiles that carry a headline.
Trait Implementations§
§impl Clone for FactorTile
impl Clone for FactorTile
§fn clone(&self) -> FactorTile
fn clone(&self) -> FactorTile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for FactorTile
impl Debug for FactorTile
§impl<'de> Deserialize<'de> for FactorTile
impl<'de> Deserialize<'de> for FactorTile
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
§impl Serialize for FactorTile
impl Serialize for FactorTile
Auto Trait Implementations§
impl Freeze for FactorTile
impl RefUnwindSafe for FactorTile
impl Send for FactorTile
impl Sync for FactorTile
impl Unpin for FactorTile
impl UnsafeUnpin for FactorTile
impl UnwindSafe for FactorTile
Blanket Implementations§
impl<T> Allocation for T
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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