Struct cpp_linter::rest_api::RestApiRateLimitHeaders
source · pub struct RestApiRateLimitHeaders {
pub reset: String,
pub remaining: String,
pub retry: String,
}
Expand description
A structure to contain the different forms of headers that describe a REST API’s rate limit status.
Fields§
§reset: String
The header key of the rate limit’s reset time.
remaining: String
The header key of the rate limit’s remaining attempts.
retry: String
The header key of the rate limit’s “backoff” time interval.
Trait Implementations§
source§impl Clone for RestApiRateLimitHeaders
impl Clone for RestApiRateLimitHeaders
source§fn clone(&self) -> RestApiRateLimitHeaders
fn clone(&self) -> RestApiRateLimitHeaders
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for RestApiRateLimitHeaders
impl RefUnwindSafe for RestApiRateLimitHeaders
impl Send for RestApiRateLimitHeaders
impl Sync for RestApiRateLimitHeaders
impl Unpin for RestApiRateLimitHeaders
impl UnwindSafe for RestApiRateLimitHeaders
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)