pub struct DebugCacheRates {
pub parent: Option<u8>,
pub agents: Option<u8>,
pub combined: Option<u8>,
}Expand description
Prompt-cache hit rates, each labelled by whose requests it covers (#6565).
parent is this conversation’s own requests: the footer cache N% and it
never change meaning. agents covers sub-agent and other background
requests. combined weights both by their tokens. Each is None when its
requests reported no cache telemetry; no report is never 0%.
Fields§
§parent: Option<u8>§agents: Option<u8>§combined: Option<u8>Implementations§
Trait Implementations§
Source§impl Clone for DebugCacheRates
impl Clone for DebugCacheRates
impl Copy for DebugCacheRates
Source§impl Debug for DebugCacheRates
impl Debug for DebugCacheRates
Source§impl Default for DebugCacheRates
impl Default for DebugCacheRates
impl Eq for DebugCacheRates
Source§impl PartialEq for DebugCacheRates
impl PartialEq for DebugCacheRates
impl StructuralPartialEq for DebugCacheRates
Auto Trait Implementations§
impl Freeze for DebugCacheRates
impl RefUnwindSafe for DebugCacheRates
impl Send for DebugCacheRates
impl Sync for DebugCacheRates
impl Unpin for DebugCacheRates
impl UnsafeUnpin for DebugCacheRates
impl UnwindSafe for DebugCacheRates
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.