pub enum UsageWindowScope {
All,
Models {
models: Vec<String>,
},
Feature {
feature: String,
},
Unknown,
}Expand description
Local-usage scope governed by an upstream quota window.
Variants§
Trait Implementations§
Source§impl Clone for UsageWindowScope
impl Clone for UsageWindowScope
Source§fn clone(&self) -> UsageWindowScope
fn clone(&self) -> UsageWindowScope
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 UsageWindowScope
impl Debug for UsageWindowScope
Source§impl<'de> Deserialize<'de> for UsageWindowScope
impl<'de> Deserialize<'de> for UsageWindowScope
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 UsageWindowScope
Source§impl PartialEq for UsageWindowScope
impl PartialEq for UsageWindowScope
Source§impl Serialize for UsageWindowScope
impl Serialize for UsageWindowScope
impl StructuralPartialEq for UsageWindowScope
Auto Trait Implementations§
impl Freeze for UsageWindowScope
impl RefUnwindSafe for UsageWindowScope
impl Send for UsageWindowScope
impl Sync for UsageWindowScope
impl Unpin for UsageWindowScope
impl UnsafeUnpin for UsageWindowScope
impl UnwindSafe for UsageWindowScope
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