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<'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