Struct gapi_grpc::google::container::v1beta1::StatusCondition[][src]

pub struct StatusCondition {
    pub code: i32,
    pub message: String,
    pub canonical_code: i32,
}

StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).

Fields

code: i32

Machine-friendly representation of the condition Deprecated. Use canonical_code instead.

message: String

Human-friendly representation of the condition

canonical_code: i32

Canonical code of the condition.

Implementations

impl StatusCondition[src]

pub fn code(&self) -> Code[src]

Returns the enum value of code, or the default if the field is set to an invalid enum value.

pub fn set_code(&mut self, value: Code)[src]

Sets code to the provided enum value.

pub fn canonical_code(&self) -> Code[src]

Returns the enum value of canonical_code, or the default if the field is set to an invalid enum value.

pub fn set_canonical_code(&mut self, value: Code)[src]

Sets canonical_code to the provided enum value.

Trait Implementations

impl Clone for StatusCondition[src]

impl Debug for StatusCondition[src]

impl Default for StatusCondition[src]

impl Message for StatusCondition[src]

impl PartialEq<StatusCondition> for StatusCondition[src]

impl StructuralPartialEq for StatusCondition[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]