pub struct ModelBreakdownEntry {
pub project_id: String,
pub model_name: String,
pub observation_count: u64,
pub total_input_tokens: u64,
pub total_output_tokens: u64,
pub total_tokens: u64,
pub total_cost: Option<f64>,
pub pricing_tier: Option<String>,
}Expand description
A single model breakdown row.
Fields§
§project_id: String§model_name: String§observation_count: u64§total_input_tokens: u64§total_output_tokens: u64§total_tokens: u64§total_cost: Option<f64>§pricing_tier: Option<String>Trait Implementations§
Source§impl Clone for ModelBreakdownEntry
impl Clone for ModelBreakdownEntry
Source§fn clone(&self) -> ModelBreakdownEntry
fn clone(&self) -> ModelBreakdownEntry
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 ModelBreakdownEntry
impl Debug for ModelBreakdownEntry
Source§impl<'de> Deserialize<'de> for ModelBreakdownEntry
impl<'de> Deserialize<'de> for ModelBreakdownEntry
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 ModelBreakdownEntry
impl RefUnwindSafe for ModelBreakdownEntry
impl Send for ModelBreakdownEntry
impl Sync for ModelBreakdownEntry
impl Unpin for ModelBreakdownEntry
impl UnsafeUnpin for ModelBreakdownEntry
impl UnwindSafe for ModelBreakdownEntry
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