pub struct UsageRecord {
pub input: u64,
pub cached: u64,
pub output: u64,
pub thinking: u64,
}Fields§
§input: u64§cached: u64§output: u64§thinking: u64Trait Implementations§
Source§impl Clone for UsageRecord
impl Clone for UsageRecord
Source§impl Debug for UsageRecord
impl Debug for UsageRecord
Source§impl Default for UsageRecord
impl Default for UsageRecord
impl Eq for UsageRecord
Source§impl PartialEq for UsageRecord
impl PartialEq for UsageRecord
Source§impl Serialize for UsageRecord
impl Serialize for UsageRecord
impl StructuralPartialEq for UsageRecord
Auto Trait Implementations§
impl Freeze for UsageRecord
impl RefUnwindSafe for UsageRecord
impl Send for UsageRecord
impl Sync for UsageRecord
impl Unpin for UsageRecord
impl UnsafeUnpin for UsageRecord
impl UnwindSafe for UsageRecord
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.