pub struct ContextMetricsSnapshot {
pub hit: u64,
pub miss: u64,
pub ambiguous_refusal: u64,
pub stale_rejection: u64,
pub error: u64,
}Fields§
§hit: u64§miss: u64§ambiguous_refusal: u64§stale_rejection: u64§error: u64Trait Implementations§
Source§impl Clone for ContextMetricsSnapshot
impl Clone for ContextMetricsSnapshot
Source§impl Debug for ContextMetricsSnapshot
impl Debug for ContextMetricsSnapshot
Source§impl<'de> Deserialize<'de> for ContextMetricsSnapshot
impl<'de> Deserialize<'de> for ContextMetricsSnapshot
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
impl Eq for ContextMetricsSnapshot
Source§impl PartialEq for ContextMetricsSnapshot
impl PartialEq for ContextMetricsSnapshot
Source§impl Serialize for ContextMetricsSnapshot
impl Serialize for ContextMetricsSnapshot
impl StructuralPartialEq for ContextMetricsSnapshot
Auto Trait Implementations§
impl Freeze for ContextMetricsSnapshot
impl RefUnwindSafe for ContextMetricsSnapshot
impl Send for ContextMetricsSnapshot
impl Sync for ContextMetricsSnapshot
impl Unpin for ContextMetricsSnapshot
impl UnsafeUnpin for ContextMetricsSnapshot
impl UnwindSafe for ContextMetricsSnapshot
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