pub struct ShutdownModelMetricRequests {
pub cost: f64,
pub count: f64,
}Expand description
Request count and cost metrics
Fields§
§cost: f64Cumulative cost multiplier for requests to this model
count: f64Total number of API requests made to this model
Trait Implementations§
Source§impl Clone for ShutdownModelMetricRequests
impl Clone for ShutdownModelMetricRequests
Source§fn clone(&self) -> ShutdownModelMetricRequests
fn clone(&self) -> ShutdownModelMetricRequests
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 ShutdownModelMetricRequests
impl Debug for ShutdownModelMetricRequests
Source§impl<'de> Deserialize<'de> for ShutdownModelMetricRequests
impl<'de> Deserialize<'de> for ShutdownModelMetricRequests
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 ShutdownModelMetricRequests
impl RefUnwindSafe for ShutdownModelMetricRequests
impl Send for ShutdownModelMetricRequests
impl Sync for ShutdownModelMetricRequests
impl Unpin for ShutdownModelMetricRequests
impl UnsafeUnpin for ShutdownModelMetricRequests
impl UnwindSafe for ShutdownModelMetricRequests
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