[−][src]Struct k8s_openapi::apimachinery::pkg::apis::meta::v1::StatusCause
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
impl Clone for StatusCause
[src]
pub fn clone(&self) -> StatusCause
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StatusCause
[src]
impl Default for StatusCause
[src]
pub fn default() -> StatusCause
[src]
impl<'de> Deserialize<'de> for StatusCause
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<StatusCause> for StatusCause
[src]
pub fn eq(&self, other: &StatusCause) -> bool
[src]
pub fn ne(&self, other: &StatusCause) -> bool
[src]
impl Serialize for StatusCause
[src]
impl StructuralPartialEq for StatusCause
[src]
Auto Trait Implementations
impl RefUnwindSafe for StatusCause
[src]
impl Send for StatusCause
[src]
impl Sync for StatusCause
[src]
impl Unpin for StatusCause
[src]
impl UnwindSafe for StatusCause
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,