Struct google_compute1::api::MachineTypeListWarningData
source · pub struct MachineTypeListWarningData {
pub key: Option<String>,
pub value: Option<String>,
}
Expand description
[Output Only] Metadata about this warning in key: value format. For example: “data”: [ { “key”: “scope”, “value”: “zones/us-east1-d” }
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<String>
[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
value: Option<String>
[Output Only] A warning data value corresponding to the key.
Trait Implementations§
source§impl Clone for MachineTypeListWarningData
impl Clone for MachineTypeListWarningData
source§fn clone(&self) -> MachineTypeListWarningData
fn clone(&self) -> MachineTypeListWarningData
Returns a copy 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 MachineTypeListWarningData
impl Debug for MachineTypeListWarningData
source§impl Default for MachineTypeListWarningData
impl Default for MachineTypeListWarningData
source§fn default() -> MachineTypeListWarningData
fn default() -> MachineTypeListWarningData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MachineTypeListWarningData
impl<'de> Deserialize<'de> for MachineTypeListWarningData
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 NestedType for MachineTypeListWarningData
impl Part for MachineTypeListWarningData
Auto Trait Implementations§
impl RefUnwindSafe for MachineTypeListWarningData
impl Send for MachineTypeListWarningData
impl Sync for MachineTypeListWarningData
impl Unpin for MachineTypeListWarningData
impl UnwindSafe for MachineTypeListWarningData
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