Struct kube_core::response::StatusDetails
source · pub struct StatusDetails {
pub name: String,
pub group: String,
pub kind: String,
pub uid: String,
pub causes: Vec<StatusCause>,
pub retry_after_seconds: u32,
}
Expand description
Status details object on the Status
object
Fields§
§name: String
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described)
group: String
The group attribute of the resource associated with the status StatusReason
kind: String
The kind attribute of the resource associated with the status StatusReason
On some operations may differ from the requested resource Kind - more info
uid: String
UID of the resource (when there is a single resource which can be described)
causes: Vec<StatusCause>
The Causes vector includes more details associated with the failure
Not all StatusReasons may provide detailed causes.
retry_after_seconds: u32
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.
Trait Implementations§
source§impl Clone for StatusDetails
impl Clone for StatusDetails
source§fn clone(&self) -> StatusDetails
fn clone(&self) -> StatusDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StatusDetails
impl Debug for StatusDetails
source§impl<'de> Deserialize<'de> for StatusDetails
impl<'de> Deserialize<'de> for StatusDetails
source§fn 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>,
source§impl PartialEq for StatusDetails
impl PartialEq for StatusDetails
source§fn eq(&self, other: &StatusDetails) -> bool
fn eq(&self, other: &StatusDetails) -> bool
self
and other
values to be equal, and is used
by ==
.