pub struct ModelScopedRateLimit {
pub display_name: String,
pub utilization: Option<f64>,
pub resets_at: Option<String>,
pub extra: Map<String, Value>,
}Fields§
§display_name: String§utilization: Option<f64>§resets_at: Option<String>§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for ModelScopedRateLimit
impl Clone for ModelScopedRateLimit
Source§fn clone(&self) -> ModelScopedRateLimit
fn clone(&self) -> ModelScopedRateLimit
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 ModelScopedRateLimit
impl Debug for ModelScopedRateLimit
Source§impl Default for ModelScopedRateLimit
impl Default for ModelScopedRateLimit
Source§fn default() -> ModelScopedRateLimit
fn default() -> ModelScopedRateLimit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelScopedRateLimit
impl<'de> Deserialize<'de> for ModelScopedRateLimit
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 ModelScopedRateLimit
impl RefUnwindSafe for ModelScopedRateLimit
impl Send for ModelScopedRateLimit
impl Sync for ModelScopedRateLimit
impl Unpin for ModelScopedRateLimit
impl UnsafeUnpin for ModelScopedRateLimit
impl UnwindSafe for ModelScopedRateLimit
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