Struct google_compute1::api::Quota
source · pub struct Quota {
pub limit: Option<f64>,
pub metric: Option<String>,
pub owner: Option<String>,
pub usage: Option<f64>,
}
Expand description
A quotas entry.
This type is not used in any activity, and only used as part of another schema.
Fields§
§limit: Option<f64>
[Output Only] Quota limit for this metric.
metric: Option<String>
[Output Only] Name of the quota metric.
owner: Option<String>
[Output Only] Owning resource. This is the resource on which this quota is applied.
usage: Option<f64>
[Output Only] Current usage of this metric.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Quota
impl<'de> Deserialize<'de> for Quota
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 Part for Quota
Auto Trait Implementations§
impl RefUnwindSafe for Quota
impl Send for Quota
impl Sync for Quota
impl Unpin for Quota
impl UnwindSafe for Quota
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