pub struct ModelTrendPoint {
pub day: String,
pub project_id: String,
pub model_name: Option<String>,
pub call_count: u64,
pub total_tokens: u64,
pub total_cost: Option<f64>,
}Expand description
Model usage trend point (daily).
Fields§
§day: String§project_id: String§model_name: Option<String>§call_count: u64§total_tokens: u64§total_cost: Option<f64>Trait Implementations§
Source§impl Clone for ModelTrendPoint
impl Clone for ModelTrendPoint
Source§fn clone(&self) -> ModelTrendPoint
fn clone(&self) -> ModelTrendPoint
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 ModelTrendPoint
impl Debug for ModelTrendPoint
Source§impl<'de> Deserialize<'de> for ModelTrendPoint
impl<'de> Deserialize<'de> for ModelTrendPoint
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 ModelTrendPoint
impl RefUnwindSafe for ModelTrendPoint
impl Send for ModelTrendPoint
impl Sync for ModelTrendPoint
impl Unpin for ModelTrendPoint
impl UnsafeUnpin for ModelTrendPoint
impl UnwindSafe for ModelTrendPoint
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