#[non_exhaustive]pub enum RateLimitKind {
History,
General,
}Expand description
Identifies one provider REST rate-limit budget.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
History
The dedicated /api/History/retrieveBars budget.
General
The budget shared by all other authenticated REST endpoints.
Trait Implementations§
Source§impl Clone for RateLimitKind
impl Clone for RateLimitKind
Source§fn clone(&self) -> RateLimitKind
fn clone(&self) -> RateLimitKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RateLimitKind
Source§impl Debug for RateLimitKind
impl Debug for RateLimitKind
Source§impl Display for RateLimitKind
impl Display for RateLimitKind
impl Eq for RateLimitKind
Source§impl Hash for RateLimitKind
impl Hash for RateLimitKind
Source§impl PartialEq for RateLimitKind
impl PartialEq for RateLimitKind
impl StructuralPartialEq for RateLimitKind
Auto Trait Implementations§
impl Freeze for RateLimitKind
impl RefUnwindSafe for RateLimitKind
impl Send for RateLimitKind
impl Sync for RateLimitKind
impl Unpin for RateLimitKind
impl UnsafeUnpin for RateLimitKind
impl UnwindSafe for RateLimitKind
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