pub struct CopilotUserResponseQuotaSnapshotsPremiumInteractions {
pub entitlement: Option<f64>,
pub has_quota: Option<bool>,
pub overage_count: Option<f64>,
pub overage_permitted: Option<bool>,
pub percent_remaining: Option<f64>,
pub quota_id: Option<String>,
pub quota_remaining: Option<f64>,
pub quota_reset_at: Option<f64>,
pub remaining: Option<f64>,
pub timestamp_utc: Option<String>,
pub token_based_billing: Option<bool>,
pub unlimited: Option<bool>,
}Expand description
Schema for the CopilotUserResponseQuotaSnapshotsPremiumInteractions type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§entitlement: Option<f64>§has_quota: Option<bool>§overage_count: Option<f64>§overage_permitted: Option<bool>§percent_remaining: Option<f64>§quota_id: Option<String>§quota_remaining: Option<f64>§quota_reset_at: Option<f64>§remaining: Option<f64>§timestamp_utc: Option<String>§token_based_billing: Option<bool>§unlimited: Option<bool>Trait Implementations§
Source§impl Clone for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl Clone for CopilotUserResponseQuotaSnapshotsPremiumInteractions
Source§fn clone(&self) -> CopilotUserResponseQuotaSnapshotsPremiumInteractions
fn clone(&self) -> CopilotUserResponseQuotaSnapshotsPremiumInteractions
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 Default for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl Default for CopilotUserResponseQuotaSnapshotsPremiumInteractions
Source§fn default() -> CopilotUserResponseQuotaSnapshotsPremiumInteractions
fn default() -> CopilotUserResponseQuotaSnapshotsPremiumInteractions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl<'de> Deserialize<'de> for CopilotUserResponseQuotaSnapshotsPremiumInteractions
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
Auto Trait Implementations§
impl Freeze for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl RefUnwindSafe for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl Send for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl Sync for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl Unpin for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl UnsafeUnpin for CopilotUserResponseQuotaSnapshotsPremiumInteractions
impl UnwindSafe for CopilotUserResponseQuotaSnapshotsPremiumInteractions
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