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§impl Serialize for StatusDetails
impl Serialize for StatusDetails
impl Eq for StatusDetails
impl StructuralPartialEq for StatusDetails
Auto Trait Implementations§
impl Freeze for StatusDetails
impl RefUnwindSafe for StatusDetails
impl Send for StatusDetails
impl Sync for StatusDetails
impl Unpin for StatusDetails
impl UnwindSafe for StatusDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.