pub struct Usage {
pub input_tokens: u64,
pub output_tokens: u64,
}Expand description
A provider manifests itself to the resolver through complete, which returns a
ProviderResponse. The reference provider is deterministic and offline so the
whole local loop runs with no accounts or network.
Fields§
§input_tokens: u64§output_tokens: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Usage
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnsafeUnpin for Usage
impl UnwindSafe for Usage
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