pub struct RateLimitsSchema {
pub data: Box<RateLimitsDataSchema>,
}Fields§
§data: Box<RateLimitsDataSchema>Implementations§
Source§impl RateLimitsSchema
impl RateLimitsSchema
pub fn new(data: RateLimitsDataSchema) -> RateLimitsSchema
Trait Implementations§
Source§impl Clone for RateLimitsSchema
impl Clone for RateLimitsSchema
Source§fn clone(&self) -> RateLimitsSchema
fn clone(&self) -> RateLimitsSchema
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 RateLimitsSchema
impl Debug for RateLimitsSchema
Source§impl Default for RateLimitsSchema
impl Default for RateLimitsSchema
Source§fn default() -> RateLimitsSchema
fn default() -> RateLimitsSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RateLimitsSchema
impl<'de> Deserialize<'de> for RateLimitsSchema
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 IntoData for RateLimitsSchema
impl IntoData for RateLimitsSchema
Source§impl PartialEq for RateLimitsSchema
impl PartialEq for RateLimitsSchema
Source§fn eq(&self, other: &RateLimitsSchema) -> bool
fn eq(&self, other: &RateLimitsSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RateLimitsSchema
impl Serialize for RateLimitsSchema
impl StructuralPartialEq for RateLimitsSchema
Auto Trait Implementations§
impl Freeze for RateLimitsSchema
impl RefUnwindSafe for RateLimitsSchema
impl Send for RateLimitsSchema
impl Sync for RateLimitsSchema
impl Unpin for RateLimitsSchema
impl UnsafeUnpin for RateLimitsSchema
impl UnwindSafe for RateLimitsSchema
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