pub enum UsageLimitScope {
Session,
Weekly,
Global,
Daily,
Unknown,
}Variants§
Session
Single-turn / short window (e.g. Copilot rate_limited).
Weekly
Weekly cap (Claude weekly, Copilot user_weekly_rate_limited).
Global
Account-wide global cap.
Daily
Per-day quota (Gemini *PerDay).
Unknown
Provider didn’t surface enough info to classify.
Implementations§
Trait Implementations§
Source§impl Clone for UsageLimitScope
impl Clone for UsageLimitScope
Source§fn clone(&self) -> UsageLimitScope
fn clone(&self) -> UsageLimitScope
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 moreSource§impl Debug for UsageLimitScope
impl Debug for UsageLimitScope
Source§impl<'de> Deserialize<'de> for UsageLimitScope
impl<'de> Deserialize<'de> for UsageLimitScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UsageLimitScope
impl PartialEq for UsageLimitScope
Source§fn eq(&self, other: &UsageLimitScope) -> bool
fn eq(&self, other: &UsageLimitScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UsageLimitScope
impl Serialize for UsageLimitScope
impl Copy for UsageLimitScope
impl Eq for UsageLimitScope
impl StructuralPartialEq for UsageLimitScope
Auto Trait Implementations§
impl Freeze for UsageLimitScope
impl RefUnwindSafe for UsageLimitScope
impl Send for UsageLimitScope
impl Sync for UsageLimitScope
impl Unpin for UsageLimitScope
impl UnsafeUnpin for UsageLimitScope
impl UnwindSafe for UsageLimitScope
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.