pub struct RateLimitResultPayload {
pub type: Option<String>,
pub requested_amount: Option<f64>,
pub allowed_amount: Option<f64>,
pub period: Option<f64>,
pub remaining_amount: Option<f64>,
pub reset: Option<f64>,
}Fields§
§type: Option<String>§requested_amount: Option<f64>§allowed_amount: Option<f64>§period: Option<f64>§remaining_amount: Option<f64>§reset: Option<f64>Trait Implementations§
Source§impl Clone for RateLimitResultPayload
impl Clone for RateLimitResultPayload
Source§fn clone(&self) -> RateLimitResultPayload
fn clone(&self) -> RateLimitResultPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 RateLimitResultPayload
impl Debug for RateLimitResultPayload
Source§impl Default for RateLimitResultPayload
impl Default for RateLimitResultPayload
Source§fn default() -> RateLimitResultPayload
fn default() -> RateLimitResultPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RateLimitResultPayloadwhere
RateLimitResultPayload: Default,
impl<'de> Deserialize<'de> for RateLimitResultPayloadwhere
RateLimitResultPayload: Default,
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 RateLimitResultPayload
impl RefUnwindSafe for RateLimitResultPayload
impl Send for RateLimitResultPayload
impl Sync for RateLimitResultPayload
impl Unpin for RateLimitResultPayload
impl UnwindSafe for RateLimitResultPayload
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