pub struct EmptyUsage {
pub input_tokens: u32,
pub output_tokens: u32,
pub cache_creation_input_tokens: u32,
pub cache_hit_input_tokens: u32,
}Expand description
Empty usage for result message
Fields§
§input_tokens: u32§output_tokens: u32§cache_creation_input_tokens: u32§cache_hit_input_tokens: u32Trait Implementations§
Source§impl Clone for EmptyUsage
impl Clone for EmptyUsage
Source§fn clone(&self) -> EmptyUsage
fn clone(&self) -> EmptyUsage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmptyUsage
impl Debug for EmptyUsage
Source§impl Default for EmptyUsage
impl Default for EmptyUsage
Source§fn default() -> EmptyUsage
fn default() -> EmptyUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmptyUsage
impl<'de> Deserialize<'de> for EmptyUsage
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
Auto Trait Implementations§
impl Freeze for EmptyUsage
impl RefUnwindSafe for EmptyUsage
impl Send for EmptyUsage
impl Sync for EmptyUsage
impl Unpin for EmptyUsage
impl UnsafeUnpin for EmptyUsage
impl UnwindSafe for EmptyUsage
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