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
sourceimpl Debug for StatusDetails
impl Debug for StatusDetails
sourceimpl<'de> Deserialize<'de> for StatusDetails
impl<'de> Deserialize<'de> for StatusDetails
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
Auto Trait Implementations
impl RefUnwindSafe for StatusDetails
impl Send for StatusDetails
impl Sync for StatusDetails
impl Unpin for StatusDetails
impl UnwindSafe for StatusDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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