pub struct AiUsage {
pub input_tokens: u64,
pub output_tokens: u64,
pub cost_usd: Option<f64>,
}Fields§
§input_tokens: u64§output_tokens: u64§cost_usd: Option<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AiUsage
impl RefUnwindSafe for AiUsage
impl Send for AiUsage
impl Sync for AiUsage
impl Unpin for AiUsage
impl UnsafeUnpin for AiUsage
impl UnwindSafe for AiUsage
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