pub struct UsageSummaryMonth {
pub month: String,
pub total_requests: i64,
pub total_input_tokens: i64,
pub total_output_tokens: i64,
pub total_cost_usd: f64,
pub total_margin_usd: f64,
pub by_provider: Vec<Value>,
}Expand description
Monthly usage summary.
Fields§
§month: String§total_requests: i64§total_input_tokens: i64§total_output_tokens: i64§total_cost_usd: f64§total_margin_usd: f64§by_provider: Vec<Value>Trait Implementations§
Source§impl Clone for UsageSummaryMonth
impl Clone for UsageSummaryMonth
Source§fn clone(&self) -> UsageSummaryMonth
fn clone(&self) -> UsageSummaryMonth
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 UsageSummaryMonth
impl Debug for UsageSummaryMonth
Source§impl<'de> Deserialize<'de> for UsageSummaryMonth
impl<'de> Deserialize<'de> for UsageSummaryMonth
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 UsageSummaryMonth
impl RefUnwindSafe for UsageSummaryMonth
impl Send for UsageSummaryMonth
impl Sync for UsageSummaryMonth
impl Unpin for UsageSummaryMonth
impl UnsafeUnpin for UsageSummaryMonth
impl UnwindSafe for UsageSummaryMonth
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