pub struct ContextWindowStats {
pub avg_saturation_pct: f64,
pub high_load_count: usize,
pub peak_saturation_pct: f64,
}Expand description
Context window saturation statistics
Fields§
§avg_saturation_pct: f64Average saturation percentage across last N sessions (0.0-100.0)
high_load_count: usizeCount of sessions exceeding 85% saturation (high-load)
peak_saturation_pct: f64Peak saturation percentage (max session, for future use)
Trait Implementations§
Source§impl Clone for ContextWindowStats
impl Clone for ContextWindowStats
Source§fn clone(&self) -> ContextWindowStats
fn clone(&self) -> ContextWindowStats
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 ContextWindowStats
impl Debug for ContextWindowStats
Source§impl Default for ContextWindowStats
impl Default for ContextWindowStats
Source§fn default() -> ContextWindowStats
fn default() -> ContextWindowStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContextWindowStats
impl RefUnwindSafe for ContextWindowStats
impl Send for ContextWindowStats
impl Sync for ContextWindowStats
impl Unpin for ContextWindowStats
impl UnwindSafe for ContextWindowStats
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