Struct roctogen::endpoints::rate_limit::RateLimit [−][src]
pub struct RateLimit<'api> { /* fields omitted */ }
Implementations
impl<'api> RateLimit<'api>
[src]
impl<'api> RateLimit<'api>
[src]pub async fn get_async(&self) -> Result<RateLimitOverview, RateLimitGetError>
[src]
pub async fn get_async(&self) -> Result<RateLimitOverview, RateLimitGetError>
[src]Get rate limit status for the authenticated user
Note: Accessing this endpoint does not count against your REST API rate limit.
Note: The rate
object is deprecated. If you’re writing new API client code or updating existing code, you should use the core
object instead of the rate
object. The core
object contains the same information that is present in the rate
object.
pub fn get(&self) -> Result<RateLimitOverview, RateLimitGetError>
[src]
pub fn get(&self) -> Result<RateLimitOverview, RateLimitGetError>
[src]Get rate limit status for the authenticated user
Note: Accessing this endpoint does not count against your REST API rate limit.
Note: The rate
object is deprecated. If you’re writing new API client code or updating existing code, you should use the core
object instead of the rate
object. The core
object contains the same information that is present in the rate
object.