[][src]Struct k8s_openapi::apimachinery::pkg::apis::meta::v1::StatusDetails

pub struct StatusDetails {
    pub causes: Option<Vec<StatusCause>>,
    pub group: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub retry_after_seconds: Option<i32>,
    pub uid: Option<String>,
}

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

Fields

causes: Option<Vec<StatusCause>>

The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.

group: Option<String>

The group attribute of the resource associated with the status StatusReason.

kind: Option<String>

The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

name: Option<String>

The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).

retry_after_seconds: Option<i32>

If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.

uid: Option<String>

UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids

Trait Implementations

impl Clone for StatusDetails[src]

impl Debug for StatusDetails[src]

impl Default for StatusDetails[src]

impl<'de> Deserialize<'de> for StatusDetails[src]

impl PartialEq<StatusDetails> for StatusDetails[src]

impl Serialize for StatusDetails[src]

impl StructuralPartialEq for StatusDetails[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.