pub struct CostAggregation {
pub total_executions: i64,
pub total_cost_usd: f64,
pub avg_cost_usd: f64,
pub total_input_tokens: i64,
pub total_output_tokens: i64,
pub total_tool_tokens: i64,
pub by_version: Vec<VersionCost>,
}Fields§
§total_executions: i64§total_cost_usd: f64§avg_cost_usd: f64§total_input_tokens: i64§total_output_tokens: i64§total_tool_tokens: i64§by_version: Vec<VersionCost>Trait Implementations§
Source§impl Clone for CostAggregation
impl Clone for CostAggregation
Source§fn clone(&self) -> CostAggregation
fn clone(&self) -> CostAggregation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CostAggregation
impl Debug for CostAggregation
Source§impl<'de> Deserialize<'de> for CostAggregation
impl<'de> Deserialize<'de> for CostAggregation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CostAggregation
impl RefUnwindSafe for CostAggregation
impl Send for CostAggregation
impl Sync for CostAggregation
impl Unpin for CostAggregation
impl UnsafeUnpin for CostAggregation
impl UnwindSafe for CostAggregation
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