Struct google_compute1::api::XpnHostListWarning
source · pub struct XpnHostListWarning {
pub code: Option<String>,
pub data: Option<Vec<XpnHostListWarningData>>,
pub message: Option<String>,
}
Expand description
[Output Only] Informational warning message.
This type is not used in any activity, and only used as part of another schema.
Fields§
§code: Option<String>
[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
data: Option<Vec<XpnHostListWarningData>>
[Output Only] Metadata about this warning in key: value format. For example: “data”: [ { “key”: “scope”, “value”: “zones/us-east1-d” }
message: Option<String>
[Output Only] A human-readable description of the warning code.
Trait Implementations§
source§impl Clone for XpnHostListWarning
impl Clone for XpnHostListWarning
source§fn clone(&self) -> XpnHostListWarning
fn clone(&self) -> XpnHostListWarning
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 XpnHostListWarning
impl Debug for XpnHostListWarning
source§impl Default for XpnHostListWarning
impl Default for XpnHostListWarning
source§fn default() -> XpnHostListWarning
fn default() -> XpnHostListWarning
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for XpnHostListWarning
impl<'de> Deserialize<'de> for XpnHostListWarning
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 XpnHostListWarning
impl Serialize for XpnHostListWarning
impl NestedType for XpnHostListWarning
impl Part for XpnHostListWarning
Auto Trait Implementations§
impl RefUnwindSafe for XpnHostListWarning
impl Send for XpnHostListWarning
impl Sync for XpnHostListWarning
impl Unpin for XpnHostListWarning
impl UnwindSafe for XpnHostListWarning
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