pub struct AccountQuotaSnapshot {
pub entitlement_requests: i64,
pub is_unlimited_entitlement: bool,
pub overage: f64,
pub overage_allowed_with_exhausted_quota: bool,
pub remaining_percentage: f64,
pub reset_date: Option<String>,
pub usage_allowed_with_exhausted_quota: bool,
pub used_requests: i64,
}Expand description
Schema for the AccountQuotaSnapshot type.
Fields§
§entitlement_requests: i64Number of requests included in the entitlement, or -1 for unlimited entitlements
is_unlimited_entitlement: boolWhether the user has an unlimited usage entitlement
overage: f64Number of additional usage requests made this period
overage_allowed_with_exhausted_quota: boolWhether additional usage is allowed when quota is exhausted
remaining_percentage: f64Percentage of entitlement remaining
reset_date: Option<String>Date when the quota resets (ISO 8601 string)
usage_allowed_with_exhausted_quota: boolWhether usage is still permitted after quota exhaustion
used_requests: i64Number of requests used so far this period
Trait Implementations§
Source§impl Clone for AccountQuotaSnapshot
impl Clone for AccountQuotaSnapshot
Source§fn clone(&self) -> AccountQuotaSnapshot
fn clone(&self) -> AccountQuotaSnapshot
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 Debug for AccountQuotaSnapshot
impl Debug for AccountQuotaSnapshot
Source§impl Default for AccountQuotaSnapshot
impl Default for AccountQuotaSnapshot
Source§fn default() -> AccountQuotaSnapshot
fn default() -> AccountQuotaSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountQuotaSnapshot
impl<'de> Deserialize<'de> for AccountQuotaSnapshot
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 AccountQuotaSnapshot
impl RefUnwindSafe for AccountQuotaSnapshot
impl Send for AccountQuotaSnapshot
impl Sync for AccountQuotaSnapshot
impl Unpin for AccountQuotaSnapshot
impl UnsafeUnpin for AccountQuotaSnapshot
impl UnwindSafe for AccountQuotaSnapshot
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