pub struct CloudQuotaV1 {
pub limit: u64,
pub used: u64,
pub reset_at: Option<String>,
pub state: CloudQuotaStateV1,
pub next_step: Option<String>,
}Expand description
One quota of the usage answer. Amounts are in the resource’s unit:
bytes for *_bytes, millionths of a US dollar for *_usd_micros,
counts otherwise.
Fields§
§limit: u64A negative amount (a credit refunded past zero) reads as 0.
used: u64§reset_at: Option<String>When a monthly quota (or a revoked instance slot) frees again.
state: CloudQuotaStateV1§next_step: Option<String>Where more comes from (subscribe, top_up, upgrade_team,
add_seats, contact).
Trait Implementations§
Source§impl Clone for CloudQuotaV1
impl Clone for CloudQuotaV1
Source§impl Debug for CloudQuotaV1
impl Debug for CloudQuotaV1
Source§impl<'de> Deserialize<'de> for CloudQuotaV1
impl<'de> Deserialize<'de> for CloudQuotaV1
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
impl Eq for CloudQuotaV1
Source§impl PartialEq for CloudQuotaV1
impl PartialEq for CloudQuotaV1
Source§impl Serialize for CloudQuotaV1
impl Serialize for CloudQuotaV1
impl StructuralPartialEq for CloudQuotaV1
Auto Trait Implementations§
impl Forget for CloudQuotaV1
impl Freeze for CloudQuotaV1
impl Move for CloudQuotaV1
impl RefUnwindSafe for CloudQuotaV1
impl Send for CloudQuotaV1where
RawVecInner: Send,
impl Sync for CloudQuotaV1where
RawVecInner: Sync,
impl Unpin for CloudQuotaV1
impl UnsafeUnpin for CloudQuotaV1
impl UnwindSafe for CloudQuotaV1where
RawVecInner: UnwindSafe,
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