pub struct RateLimiting {
pub limit: Option<usize>,
pub remaining: Option<usize>,
}Fields§
§limit: Option<usize>§remaining: Option<usize>Trait Implementations§
Source§impl Clone for RateLimiting
impl Clone for RateLimiting
Source§fn clone(&self) -> RateLimiting
fn clone(&self) -> RateLimiting
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 RateLimiting
impl Debug for RateLimiting
Source§impl<'de> Deserialize<'de> for RateLimiting
impl<'de> Deserialize<'de> for RateLimiting
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 Serialize for RateLimiting
impl Serialize for RateLimiting
impl Copy for RateLimiting
Auto Trait Implementations§
impl Freeze for RateLimiting
impl RefUnwindSafe for RateLimiting
impl Send for RateLimiting
impl Sync for RateLimiting
impl Unpin for RateLimiting
impl UnwindSafe for RateLimiting
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