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 Clone for StatusDetails
impl Clone for StatusDetails
sourcefn clone(&self) -> StatusDetails
fn clone(&self) -> StatusDetails
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl 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>,
sourceimpl PartialEq<StatusDetails> for StatusDetails
impl PartialEq<StatusDetails> for StatusDetails
sourcefn eq(&self, other: &StatusDetails) -> bool
fn eq(&self, other: &StatusDetails) -> bool
sourceimpl Serialize for StatusDetails
impl Serialize for StatusDetails
impl Eq for StatusDetails
impl StructuralEq for StatusDetails
impl StructuralPartialEq for StatusDetails
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 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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.