pub struct PreheatingStats {
pub predictions_made: u64,
pub successful_predictions: u64,
pub failed_predictions: u64,
pub accuracy_rate: f64,
pub preheat_operations: u64,
pub avg_confidence: f64,
pub patterns_learned: usize,
}Expand description
Preheating statistics
Fields§
§predictions_made: u64Total predictions made
successful_predictions: u64Successful predictions (cache hits after preheating)
failed_predictions: u64Failed predictions (cache misses after preheating)
accuracy_rate: f64Prediction accuracy rate
preheat_operations: u64Total preheating operations
avg_confidence: f64Average prediction confidence
patterns_learned: usizePatterns learned
Trait Implementations§
Source§impl Clone for PreheatingStats
impl Clone for PreheatingStats
Source§fn clone(&self) -> PreheatingStats
fn clone(&self) -> PreheatingStats
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 PreheatingStats
impl Debug for PreheatingStats
Source§impl Default for PreheatingStats
impl Default for PreheatingStats
Source§impl<'de> Deserialize<'de> for PreheatingStats
impl<'de> Deserialize<'de> for PreheatingStats
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 PreheatingStats
impl RefUnwindSafe for PreheatingStats
impl Send for PreheatingStats
impl Sync for PreheatingStats
impl Unpin for PreheatingStats
impl UnwindSafe for PreheatingStats
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