pub struct RateLimit {
pub limit: u32,
pub remaining: u32,
pub reset_at: Option<DateTime<Utc>>,
}Expand description
The rate limit information returned from a request to AbuseIPDB.
Fields§
§limit: u32Your daily limit.
remaining: u32Remaining requests available for this endpoint.
reset_at: Option<DateTime<Utc>>The timestamp for the daily limit reset.
Trait Implementations§
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