pub enum WindowScope {
Account,
Model {
model: String,
},
Feature {
feature: String,
},
}Expand description
What a window applies to.
Variants§
Account
Whole-account quota.
Model
A model-specific sub-quota (Anthropic seven_day_opus, Codex slugs).
Feature
A feature-specific sub-quota (Codex code review, Anthropic OAuth apps).
Trait Implementations§
Source§impl Clone for WindowScope
impl Clone for WindowScope
Source§impl Debug for WindowScope
impl Debug for WindowScope
Source§impl<'de> Deserialize<'de> for WindowScope
impl<'de> Deserialize<'de> for WindowScope
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
impl Eq for WindowScope
Source§impl PartialEq for WindowScope
impl PartialEq for WindowScope
Source§impl Serialize for WindowScope
impl Serialize for WindowScope
impl StructuralPartialEq for WindowScope
Auto Trait Implementations§
impl Freeze for WindowScope
impl RefUnwindSafe for WindowScope
impl Send for WindowScope
impl Sync for WindowScope
impl Unpin for WindowScope
impl UnsafeUnpin for WindowScope
impl UnwindSafe for WindowScope
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.