pub struct RateVariant {
pub peak: Option<String>,
pub tier_max_tokens: Option<u64>,
pub tier_min_tokens: Option<u64>,
pub input: f64,
pub output: f64,
pub cache_read: f64,
pub cache_write: f64,
}Fields§
§peak: Option<String>§tier_max_tokens: Option<u64>§tier_min_tokens: Option<u64>§input: f64§output: f64§cache_read: f64§cache_write: f64Trait Implementations§
Source§impl Clone for RateVariant
impl Clone for RateVariant
Source§impl Debug for RateVariant
impl Debug for RateVariant
Source§impl<'de> Deserialize<'de> for RateVariant
impl<'de> Deserialize<'de> for RateVariant
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 RateVariant
impl RefUnwindSafe for RateVariant
impl Send for RateVariant
impl Sync for RateVariant
impl Unpin for RateVariant
impl UnsafeUnpin for RateVariant
impl UnwindSafe for RateVariant
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