Struct google_container1::api::StatusCondition
source · pub struct StatusCondition {
pub canonical_code: Option<String>,
pub code: Option<String>,
pub message: Option<String>,
}
Expand description
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
This type is not used in any activity, and only used as part of another schema.
Fields§
§canonical_code: Option<String>
Canonical code of the condition.
code: Option<String>
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
message: Option<String>
Human-friendly representation of the condition
Trait Implementations§
source§impl Clone for StatusCondition
impl Clone for StatusCondition
source§fn clone(&self) -> StatusCondition
fn clone(&self) -> StatusCondition
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 StatusCondition
impl Debug for StatusCondition
source§impl Default for StatusCondition
impl Default for StatusCondition
source§fn default() -> StatusCondition
fn default() -> StatusCondition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StatusCondition
impl<'de> Deserialize<'de> for StatusCondition
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 StatusCondition
impl Serialize for StatusCondition
impl Part for StatusCondition
Auto Trait Implementations§
impl RefUnwindSafe for StatusCondition
impl Send for StatusCondition
impl Sync for StatusCondition
impl Unpin for StatusCondition
impl UnwindSafe for StatusCondition
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