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