pub struct RateLimitsDataSchema {
pub account: Box<RateLimitScopeSchema>,
pub data: Box<RateLimitScopeSchema>,
pub action: Box<RateLimitScopeSchema>,
pub simulation: Box<RateLimitScopeSchema>,
pub assistant: Option<Box<RateLimitScopeSchema>>,
}Fields§
§account: Box<RateLimitScopeSchema>Rate limits for account endpoints.
data: Box<RateLimitScopeSchema>Rate limits for data endpoints.
action: Box<RateLimitScopeSchema>Rate limits for action endpoints.
simulation: Box<RateLimitScopeSchema>Rate limits for the fight simulation endpoint. Only available for members.
assistant: Option<Box<RateLimitScopeSchema>>Assistant daily usage. Only available for members.
Implementations§
Source§impl RateLimitsDataSchema
impl RateLimitsDataSchema
pub fn new( account: RateLimitScopeSchema, data: RateLimitScopeSchema, action: RateLimitScopeSchema, simulation: RateLimitScopeSchema, ) -> RateLimitsDataSchema
Trait Implementations§
Source§impl Clone for RateLimitsDataSchema
impl Clone for RateLimitsDataSchema
Source§fn clone(&self) -> RateLimitsDataSchema
fn clone(&self) -> RateLimitsDataSchema
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 RateLimitsDataSchema
impl Debug for RateLimitsDataSchema
Source§impl Default for RateLimitsDataSchema
impl Default for RateLimitsDataSchema
Source§fn default() -> RateLimitsDataSchema
fn default() -> RateLimitsDataSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RateLimitsDataSchema
impl<'de> Deserialize<'de> for RateLimitsDataSchema
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
Source§impl PartialEq for RateLimitsDataSchema
impl PartialEq for RateLimitsDataSchema
Source§fn eq(&self, other: &RateLimitsDataSchema) -> bool
fn eq(&self, other: &RateLimitsDataSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RateLimitsDataSchema
impl Serialize for RateLimitsDataSchema
impl StructuralPartialEq for RateLimitsDataSchema
Auto Trait Implementations§
impl Freeze for RateLimitsDataSchema
impl RefUnwindSafe for RateLimitsDataSchema
impl Send for RateLimitsDataSchema
impl Sync for RateLimitsDataSchema
impl Unpin for RateLimitsDataSchema
impl UnsafeUnpin for RateLimitsDataSchema
impl UnwindSafe for RateLimitsDataSchema
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