pub struct CopilotUserResponseQuotaSnapshots {
pub chat: Option<CopilotUserResponseQuotaSnapshotsChat>,
pub completions: Option<CopilotUserResponseQuotaSnapshotsCompletions>,
pub premium_interactions: Option<CopilotUserResponseQuotaSnapshotsPremiumInteractions>,
}Expand description
Quota snapshot map from the raw Copilot user-response passthrough, with chat, completions, premium-interactions, and other entries.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§chat: Option<CopilotUserResponseQuotaSnapshotsChat>Chat quota snapshot from the raw Copilot user-response passthrough, with entitlement, overage, remaining quota, reset, and billing fields.
completions: Option<CopilotUserResponseQuotaSnapshotsCompletions>Completions quota snapshot from the raw Copilot user-response passthrough, with entitlement, overage, remaining quota, reset, and billing fields.
Premium-interactions quota snapshot from the raw Copilot user-response passthrough, with entitlement, overage, remaining quota, reset, and billing fields.
Trait Implementations§
Source§impl Clone for CopilotUserResponseQuotaSnapshots
impl Clone for CopilotUserResponseQuotaSnapshots
Source§fn clone(&self) -> CopilotUserResponseQuotaSnapshots
fn clone(&self) -> CopilotUserResponseQuotaSnapshots
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 CopilotUserResponseQuotaSnapshots
impl Default for CopilotUserResponseQuotaSnapshots
Source§fn default() -> CopilotUserResponseQuotaSnapshots
fn default() -> CopilotUserResponseQuotaSnapshots
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CopilotUserResponseQuotaSnapshots
impl<'de> Deserialize<'de> for CopilotUserResponseQuotaSnapshots
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 CopilotUserResponseQuotaSnapshots
impl RefUnwindSafe for CopilotUserResponseQuotaSnapshots
impl Send for CopilotUserResponseQuotaSnapshots
impl Sync for CopilotUserResponseQuotaSnapshots
impl Unpin for CopilotUserResponseQuotaSnapshots
impl UnsafeUnpin for CopilotUserResponseQuotaSnapshots
impl UnwindSafe for CopilotUserResponseQuotaSnapshots
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