pub struct StatusDetails {
pub causes: Option<Vec<StatusCause>>,
pub group: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub retry_after_seconds: Option<i32>,
pub uid: Option<String>,
}
Expand description
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
This type is not used in any activity, and only used as part of another schema.
Fields§
§causes: Option<Vec<StatusCause>>
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
group: Option<String>
The group attribute of the resource associated with the status StatusReason.
kind: Option<String>
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind.
name: Option<String>
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
retry_after_seconds: Option<i32>
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.
uid: Option<String>
UID of the resource. (when there is a single resource which can be described).
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 Default for StatusDetails
impl Default for StatusDetails
Source§fn default() -> StatusDetails
fn default() -> 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 Serialize for StatusDetails
impl Serialize for StatusDetails
impl Part 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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more