pub struct UsageSummaryRow {
pub agent_id: String,
pub model: String,
pub request_count: i64,
pub total_input_tokens: i64,
pub total_output_tokens: i64,
pub total_cache_read_tokens: i64,
pub total_cache_creation_tokens: i64,
pub total_cost: f64,
}Expand description
Aggregated usage summary grouped by agent and model.
Fields§
§agent_id: String§model: String§request_count: i64§total_input_tokens: i64§total_output_tokens: i64§total_cache_read_tokens: i64§total_cache_creation_tokens: i64§total_cost: f64Trait Implementations§
Source§impl Clone for UsageSummaryRow
impl Clone for UsageSummaryRow
Source§fn clone(&self) -> UsageSummaryRow
fn clone(&self) -> UsageSummaryRow
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 Debug for UsageSummaryRow
impl Debug for UsageSummaryRow
Auto Trait Implementations§
impl Freeze for UsageSummaryRow
impl RefUnwindSafe for UsageSummaryRow
impl Send for UsageSummaryRow
impl Sync for UsageSummaryRow
impl Unpin for UsageSummaryRow
impl UnsafeUnpin for UsageSummaryRow
impl UnwindSafe for UsageSummaryRow
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