Struct iplocate::RateLimit[][src]

pub struct RateLimit {
    pub limit: i32,
    pub remaining: i32,
    pub reset: DateTime<Utc>,
}

This type contains all the data associated with IPLocate API's rate limits.

Fields

The number of requests you can make daily.

The remaining number of requests that you can make on the same day.

The time that will reset the remaining number of requests back to the IPLocate API's rate limit.

Trait Implementations

impl Debug for RateLimit
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a Response> for RateLimit
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RateLimit

impl Sync for RateLimit