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