pub struct UsefulnessTrend {
pub sum_usefulness: f64,
pub avg_ratio: Option<f64>,
pub window_finished: u64,
pub window_failed_nongate: u64,
pub window_net: i64,
}Expand description
C3 — memory usefulness distribution and run-outcome trend.
Fields§
§sum_usefulness: f64SUM(usefulness_score) across all active memories.
avg_ratio: Option<f64>AVG(usefulness_score / use_count) over active rows with
use_count > 0; None when no such rows exist.
window_finished: u64run.finished events in the window.
window_failed_nongate: u64run.failed events in the window whose payload category != "Gate".
window_net: i64window_finished − window_failed_nongate.
Trait Implementations§
Source§impl Clone for UsefulnessTrend
impl Clone for UsefulnessTrend
Source§fn clone(&self) -> UsefulnessTrend
fn clone(&self) -> UsefulnessTrend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UsefulnessTrend
impl Debug for UsefulnessTrend
Auto Trait Implementations§
impl Freeze for UsefulnessTrend
impl RefUnwindSafe for UsefulnessTrend
impl Send for UsefulnessTrend
impl Sync for UsefulnessTrend
impl Unpin for UsefulnessTrend
impl UnsafeUnpin for UsefulnessTrend
impl UnwindSafe for UsefulnessTrend
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