Struct kube_core::response::StatusCause
source · [−]Expand description
Status cause object on the StatusDetails
object
Fields
reason: String
A machine-readable description of the cause of the error. If this value is empty there is no information available.
message: String
A human-readable description of the cause of the error. This field may be presented as-is to a reader.
field: 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.
Trait Implementations
sourceimpl Clone for StatusCause
impl Clone for StatusCause
sourcefn clone(&self) -> StatusCause
fn clone(&self) -> StatusCause
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StatusCause
impl Debug for StatusCause
sourceimpl<'de> Deserialize<'de> for StatusCause
impl<'de> Deserialize<'de> for StatusCause
sourcefn 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
sourceimpl PartialEq<StatusCause> for StatusCause
impl PartialEq<StatusCause> for StatusCause
sourcefn eq(&self, other: &StatusCause) -> bool
fn eq(&self, other: &StatusCause) -> bool
sourceimpl Serialize for StatusCause
impl Serialize for StatusCause
impl StructuralPartialEq for StatusCause
Auto Trait Implementations
impl RefUnwindSafe for StatusCause
impl Send for StatusCause
impl Sync for StatusCause
impl Unpin for StatusCause
impl UnwindSafe for StatusCause
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more