pub struct TargetInstancesScopedListWarningData {
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 TargetInstancesScopedListWarningData
impl Clone for TargetInstancesScopedListWarningData
source§fn clone(&self) -> TargetInstancesScopedListWarningData
fn clone(&self) -> TargetInstancesScopedListWarningData
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 Default for TargetInstancesScopedListWarningData
impl Default for TargetInstancesScopedListWarningData
source§fn default() -> TargetInstancesScopedListWarningData
fn default() -> TargetInstancesScopedListWarningData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TargetInstancesScopedListWarningData
impl<'de> Deserialize<'de> for TargetInstancesScopedListWarningData
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 TargetInstancesScopedListWarningData
impl Part for TargetInstancesScopedListWarningData
Auto Trait Implementations§
impl Freeze for TargetInstancesScopedListWarningData
impl RefUnwindSafe for TargetInstancesScopedListWarningData
impl Send for TargetInstancesScopedListWarningData
impl Sync for TargetInstancesScopedListWarningData
impl Unpin for TargetInstancesScopedListWarningData
impl UnwindSafe for TargetInstancesScopedListWarningData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more