Struct k8s_openapi::apimachinery::pkg::apis::meta::v1::StatusCause [−][src]
pub struct StatusCause {
pub field: Option<String>,
pub message: Option<String>,
pub reason: Option<String>,
}Expand description
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
Fields
field: Option<String>The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
Examples: “name” - the field “name” on the current resource “items[0].name” - the field “name” on the first array entry in “items”
message: Option<String>A human-readable description of the cause of the error. This field may be presented as-is to a reader.
reason: Option<String>A machine-readable description of the cause of the error. If this value is empty there is no information available.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StatusCauseimpl Send for StatusCauseimpl Sync for StatusCauseimpl Unpin for StatusCauseimpl UnwindSafe for StatusCauseBlanket Implementations
Mutably borrows from an owned value. Read more