pub struct SessionCostPromptCacheEffectivenessTotals {
pub cases: usize,
pub passed: usize,
pub failed: usize,
pub prompt_tokens: u64,
pub cached_input_tokens: u64,
pub cache_creation_input_tokens: u64,
pub net_cached_input_tokens: i64,
pub read_create_regressions: usize,
}Fields§
§cases: usize§passed: usize§failed: usize§prompt_tokens: u64§cached_input_tokens: u64§cache_creation_input_tokens: u64§net_cached_input_tokens: i64§read_create_regressions: usizeTrait Implementations§
Source§impl Clone for SessionCostPromptCacheEffectivenessTotals
impl Clone for SessionCostPromptCacheEffectivenessTotals
Source§fn clone(&self) -> SessionCostPromptCacheEffectivenessTotals
fn clone(&self) -> SessionCostPromptCacheEffectivenessTotals
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 moreimpl Eq for SessionCostPromptCacheEffectivenessTotals
Source§impl Serialize for SessionCostPromptCacheEffectivenessTotals
impl Serialize for SessionCostPromptCacheEffectivenessTotals
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SessionCostPromptCacheEffectivenessTotals
Auto Trait Implementations§
impl Freeze for SessionCostPromptCacheEffectivenessTotals
impl RefUnwindSafe for SessionCostPromptCacheEffectivenessTotals
impl Send for SessionCostPromptCacheEffectivenessTotals
impl Sync for SessionCostPromptCacheEffectivenessTotals
impl Unpin for SessionCostPromptCacheEffectivenessTotals
impl UnsafeUnpin for SessionCostPromptCacheEffectivenessTotals
impl UnwindSafe for SessionCostPromptCacheEffectivenessTotals
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.