pub enum Vendor {
Standard,
Reddit,
Github,
Twitter,
Vimeo,
Gitlab,
Akamai,
}Expand description
Known vendors of rate limit headers
Vendors use different rate limit header formats, which define how to parse them.
Variants§
Standard
Rate limit headers as defined in the polli-ratelimit-headers-00 draft
Reddit rate limit headers
Github
Github API rate limit headers
Twitter API rate limit headers
Vimeo
Vimeo rate limit headers
Gitlab
Gitlab rate limit headers
Akamai
Akamai rate limit headers
Trait Implementations§
impl Copy for Vendor
impl StructuralPartialEq for Vendor
Auto Trait Implementations§
impl Freeze for Vendor
impl RefUnwindSafe for Vendor
impl Send for Vendor
impl Sync for Vendor
impl Unpin for Vendor
impl UnwindSafe for Vendor
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