pub struct EmptyUsage;Trait 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 Usage for EmptyUsage
impl Usage for EmptyUsage
fn get_prompt_tokens(&self) -> u32
fn get_completion_tokens(&self) -> u32
fn get_total_tokens(&self) -> u64
Auto Trait Implementations§
impl Freeze for EmptyUsage
impl RefUnwindSafe for EmptyUsage
impl Send for EmptyUsage
impl Sync for EmptyUsage
impl Unpin 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