pub struct ShutdownModelMetric {
pub requests: ShutdownModelMetricRequests,
pub token_details: HashMap<String, ShutdownModelMetricTokenDetail>,
pub total_nano_aiu: Option<f64>,
pub usage: ShutdownModelMetricUsage,
}Fields§
§requests: ShutdownModelMetricRequestsRequest count and cost metrics
token_details: HashMap<String, ShutdownModelMetricTokenDetail>Token count details per type
total_nano_aiu: Option<f64>Accumulated nano-AI units cost for this model
usage: ShutdownModelMetricUsageToken usage breakdown
Trait Implementations§
Source§impl Clone for ShutdownModelMetric
impl Clone for ShutdownModelMetric
Source§fn clone(&self) -> ShutdownModelMetric
fn clone(&self) -> ShutdownModelMetric
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 ShutdownModelMetric
impl Debug for ShutdownModelMetric
Source§impl<'de> Deserialize<'de> for ShutdownModelMetric
impl<'de> Deserialize<'de> for ShutdownModelMetric
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 ShutdownModelMetric
impl RefUnwindSafe for ShutdownModelMetric
impl Send for ShutdownModelMetric
impl Sync for ShutdownModelMetric
impl Unpin for ShutdownModelMetric
impl UnsafeUnpin for ShutdownModelMetric
impl UnwindSafe for ShutdownModelMetric
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