pub struct CopilotUserResponseQuotaSnapshotsCompletions {
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 CopilotUserResponseQuotaSnapshotsCompletions 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 CopilotUserResponseQuotaSnapshotsCompletions
impl Clone for CopilotUserResponseQuotaSnapshotsCompletions
Source§fn clone(&self) -> CopilotUserResponseQuotaSnapshotsCompletions
fn clone(&self) -> CopilotUserResponseQuotaSnapshotsCompletions
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 CopilotUserResponseQuotaSnapshotsCompletions
impl Default for CopilotUserResponseQuotaSnapshotsCompletions
Source§fn default() -> CopilotUserResponseQuotaSnapshotsCompletions
fn default() -> CopilotUserResponseQuotaSnapshotsCompletions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CopilotUserResponseQuotaSnapshotsCompletions
impl<'de> Deserialize<'de> for CopilotUserResponseQuotaSnapshotsCompletions
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 CopilotUserResponseQuotaSnapshotsCompletions
impl RefUnwindSafe for CopilotUserResponseQuotaSnapshotsCompletions
impl Send for CopilotUserResponseQuotaSnapshotsCompletions
impl Sync for CopilotUserResponseQuotaSnapshotsCompletions
impl Unpin for CopilotUserResponseQuotaSnapshotsCompletions
impl UnsafeUnpin for CopilotUserResponseQuotaSnapshotsCompletions
impl UnwindSafe for CopilotUserResponseQuotaSnapshotsCompletions
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