Struct google_compute1::api::RouteWarnings
source · pub struct RouteWarnings {
pub code: Option<String>,
pub data: Option<Vec<RouteWarningsData>>,
pub message: Option<String>,
}
Expand description
[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.
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<RouteWarningsData>>
[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 RouteWarnings
impl Clone for RouteWarnings
source§fn clone(&self) -> RouteWarnings
fn clone(&self) -> RouteWarnings
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 RouteWarnings
impl Debug for RouteWarnings
source§impl Default for RouteWarnings
impl Default for RouteWarnings
source§fn default() -> RouteWarnings
fn default() -> RouteWarnings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RouteWarnings
impl<'de> Deserialize<'de> for RouteWarnings
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 RouteWarnings
impl Serialize for RouteWarnings
impl NestedType for RouteWarnings
impl Part for RouteWarnings
Auto Trait Implementations§
impl RefUnwindSafe for RouteWarnings
impl Send for RouteWarnings
impl Sync for RouteWarnings
impl Unpin for RouteWarnings
impl UnwindSafe for RouteWarnings
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