pub struct CostBreakdownPoint {
pub project_id: String,
pub model_name: Option<String>,
pub total_input_cost: Option<f64>,
pub total_output_cost: Option<f64>,
pub total_cost: Option<f64>,
pub observation_count: u64,
}Expand description
Cost breakdown data point (input/output/total).
Fields§
§project_id: String§model_name: Option<String>§total_input_cost: Option<f64>§total_output_cost: Option<f64>§total_cost: Option<f64>§observation_count: u64Trait Implementations§
Source§impl Clone for CostBreakdownPoint
impl Clone for CostBreakdownPoint
Source§fn clone(&self) -> CostBreakdownPoint
fn clone(&self) -> CostBreakdownPoint
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 CostBreakdownPoint
impl Debug for CostBreakdownPoint
Source§impl<'de> Deserialize<'de> for CostBreakdownPoint
impl<'de> Deserialize<'de> for CostBreakdownPoint
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 CostBreakdownPoint
impl RefUnwindSafe for CostBreakdownPoint
impl Send for CostBreakdownPoint
impl Sync for CostBreakdownPoint
impl Unpin for CostBreakdownPoint
impl UnsafeUnpin for CostBreakdownPoint
impl UnwindSafe for CostBreakdownPoint
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