pub enum RateLimitScope {
Rpm,
Tpm,
Unspecified,
}Variants§
Rpm
Requests per minute.
Tpm
Requests per minute.
Unspecified
Reported by the server but not further subdivided.
Trait Implementations§
Source§impl Clone for RateLimitScope
impl Clone for RateLimitScope
Source§fn clone(&self) -> RateLimitScope
fn clone(&self) -> RateLimitScope
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 RateLimitScope
Source§impl Debug for RateLimitScope
impl Debug for RateLimitScope
impl Eq for RateLimitScope
Source§impl PartialEq for RateLimitScope
impl PartialEq for RateLimitScope
Source§fn eq(&self, other: &RateLimitScope) -> bool
fn eq(&self, other: &RateLimitScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RateLimitScope
Auto Trait Implementations§
impl Freeze for RateLimitScope
impl RefUnwindSafe for RateLimitScope
impl Send for RateLimitScope
impl Sync for RateLimitScope
impl Unpin for RateLimitScope
impl UnsafeUnpin for RateLimitScope
impl UnwindSafe for RateLimitScope
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