pub struct ModelCostBreakdown {
pub input_tokens: u64,
pub output_tokens: u64,
pub cost_usd: f64,
pub request_count: u64,
}Expand description
Per-model cost breakdown for reporting.
Fields§
§input_tokens: u64Total input tokens attributed to this model.
output_tokens: u64Total output tokens attributed to this model.
cost_usd: f64Total attributed cost in USD.
request_count: u64Number of record calls accepted for this model.
Trait Implementations§
Source§impl Clone for ModelCostBreakdown
impl Clone for ModelCostBreakdown
Source§impl Debug for ModelCostBreakdown
impl Debug for ModelCostBreakdown
Source§impl PartialEq for ModelCostBreakdown
impl PartialEq for ModelCostBreakdown
impl StructuralPartialEq for ModelCostBreakdown
Auto Trait Implementations§
impl Freeze for ModelCostBreakdown
impl RefUnwindSafe for ModelCostBreakdown
impl Send for ModelCostBreakdown
impl Sync for ModelCostBreakdown
impl Unpin for ModelCostBreakdown
impl UnsafeUnpin for ModelCostBreakdown
impl UnwindSafe for ModelCostBreakdown
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