pub struct TrendMetrics {
pub available: bool,
pub samples: usize,
pub score_delta: i16,
pub quality_signal_delta: i32,
pub rule_delta: isize,
pub dimension_deltas: BTreeMap<String, f64>,
pub series: Vec<TrendSample>,
}Fields§
§available: bool§samples: usize§score_delta: i16§quality_signal_delta: i32§rule_delta: isize§dimension_deltas: BTreeMap<String, f64>Per-dimension drift, first sample to last. Keys are the
RootCauseScores field names (modularity, acyclicity,
depth, equality, redundancy, structural_uniformity).
Values are float deltas in [-1, 1]. Empty when older samples
lack root_causes.
series: Vec<TrendSample>Full ordered series (oldest first). Empty in serde-default
state. Each sample now also carries its root_causes and a
human-readable timestamp; older samples written before this
field landed still parse via #[serde(default)].
Trait Implementations§
Source§impl Clone for TrendMetrics
impl Clone for TrendMetrics
Source§fn clone(&self) -> TrendMetrics
fn clone(&self) -> TrendMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrendMetrics
impl Debug for TrendMetrics
Source§impl Default for TrendMetrics
impl Default for TrendMetrics
Source§fn default() -> TrendMetrics
fn default() -> TrendMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrendMetrics
impl<'de> Deserialize<'de> for TrendMetrics
Source§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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TrendMetrics
impl RefUnwindSafe for TrendMetrics
impl Send for TrendMetrics
impl Sync for TrendMetrics
impl Unpin for TrendMetrics
impl UnsafeUnpin for TrendMetrics
impl UnwindSafe for TrendMetrics
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