pub struct Ratelimit {
pub remaining: u32,
pub reset_in_seconds: u32,
pub windows: Vec<(u32, u32)>,
}Fields§
§remaining: u32§reset_in_seconds: u32§windows: Vec<(u32, u32)>Trait Implementations§
impl Eq for Ratelimit
impl StructuralPartialEq for Ratelimit
Auto Trait Implementations§
impl Freeze for Ratelimit
impl RefUnwindSafe for Ratelimit
impl Send for Ratelimit
impl Sync for Ratelimit
impl Unpin for Ratelimit
impl UnwindSafe for Ratelimit
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