pub struct UsageStatsResponse {
pub period_days: u32,
pub total_requests: u64,
pub total_credits_deducted: f64,
pub stats_by_provider: Value,
pub logs: Vec<Value>,
pub data: Option<Value>,
}Fields§
§period_days: u32§total_requests: u64§total_credits_deducted: f64§stats_by_provider: Value§logs: Vec<Value>§data: Option<Value>Trait Implementations§
Source§impl Clone for UsageStatsResponse
impl Clone for UsageStatsResponse
Source§fn clone(&self) -> UsageStatsResponse
fn clone(&self) -> UsageStatsResponse
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 UsageStatsResponse
impl Debug for UsageStatsResponse
Source§impl<'de> Deserialize<'de> for UsageStatsResponse
impl<'de> Deserialize<'de> for UsageStatsResponse
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 UsageStatsResponse
impl RefUnwindSafe for UsageStatsResponse
impl Send for UsageStatsResponse
impl Sync for UsageStatsResponse
impl Unpin for UsageStatsResponse
impl UnsafeUnpin for UsageStatsResponse
impl UnwindSafe for UsageStatsResponse
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