pub struct MetricsSavingsV1 {
pub tokens_requested: u64,
pub tokens_delivered: u64,
pub tokens_saved: u64,
pub tool_calls: u64,
pub cache_hits: u64,
}Fields§
§tokens_requested: u64§tokens_delivered: u64§tokens_saved: u64§tool_calls: u64§cache_hits: u64Trait Implementations§
Source§impl Clone for MetricsSavingsV1
impl Clone for MetricsSavingsV1
impl Copy for MetricsSavingsV1
Source§impl Debug for MetricsSavingsV1
impl Debug for MetricsSavingsV1
Source§impl Default for MetricsSavingsV1
impl Default for MetricsSavingsV1
Source§impl<'de> Deserialize<'de> for MetricsSavingsV1
impl<'de> Deserialize<'de> for MetricsSavingsV1
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 MetricsSavingsV1
Source§impl PartialEq for MetricsSavingsV1
impl PartialEq for MetricsSavingsV1
Source§impl Serialize for MetricsSavingsV1
impl Serialize for MetricsSavingsV1
impl StructuralPartialEq for MetricsSavingsV1
Auto Trait Implementations§
impl Forget for MetricsSavingsV1
impl Freeze for MetricsSavingsV1
impl Move for MetricsSavingsV1
impl RefUnwindSafe for MetricsSavingsV1
impl Send for MetricsSavingsV1
impl Sync for MetricsSavingsV1
impl Unpin for MetricsSavingsV1
impl UnsafeUnpin for MetricsSavingsV1
impl UnwindSafe for MetricsSavingsV1
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