pub struct InstanceQuota {
pub available_machine_count: Option<i32>,
pub gcp_service: Option<String>,
pub instance_type: Option<String>,
pub location: Option<String>,
pub name: Option<String>,
}Expand description
A resource budget.
This type is not used in any activity, and only used as part of another schema.
Fields§
§available_machine_count: Option<i32>Number of machines than can be created for the given location and instance_type.
gcp_service: Option<String>The gcp service of the provisioning quota.
instance_type: Option<String>Instance type. Deprecated: use gcp_service.
location: Option<String>Location where the quota applies.
name: Option<String>Output only. The name of the instance quota.
Trait Implementations§
Source§impl Clone for InstanceQuota
impl Clone for InstanceQuota
Source§fn clone(&self) -> InstanceQuota
fn clone(&self) -> InstanceQuota
Returns a duplicate of the value. Read more
1.0.0 · 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 InstanceQuota
impl Debug for InstanceQuota
Source§impl Default for InstanceQuota
impl Default for InstanceQuota
Source§fn default() -> InstanceQuota
fn default() -> InstanceQuota
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstanceQuota
impl<'de> Deserialize<'de> for InstanceQuota
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
Source§impl Serialize for InstanceQuota
impl Serialize for InstanceQuota
impl Part for InstanceQuota
Auto Trait Implementations§
impl Freeze for InstanceQuota
impl RefUnwindSafe for InstanceQuota
impl Send for InstanceQuota
impl Sync for InstanceQuota
impl Unpin for InstanceQuota
impl UnwindSafe for InstanceQuota
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