pub struct ModelCost {
pub model: String,
pub provider: Provider,
pub tokens: TokenBuckets,
pub subtotal_usd: f64,
}Fields§
§model: String§provider: Provider§tokens: TokenBuckets§subtotal_usd: f64Trait Implementations§
impl StructuralPartialEq for ModelCost
Auto Trait Implementations§
impl Freeze for ModelCost
impl RefUnwindSafe for ModelCost
impl Send for ModelCost
impl Sync for ModelCost
impl Unpin for ModelCost
impl UnsafeUnpin for ModelCost
impl UnwindSafe for ModelCost
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