#[non_exhaustive]pub enum StatusDetails {
BadRequest(BadRequest),
DebugInfo(DebugInfo),
ErrorInfo(ErrorInfo),
Help(Help),
LocalizedMessage(LocalizedMessage),
PreconditionFailure(PreconditionFailure),
QuotaFailure(QuotaFailure),
RequestInfo(RequestInfo),
ResourceInfo(ResourceInfo),
RetryInfo(RetryInfo),
Other(Any),
}Expand description
The type of details associated with Status.
Google cloud RPCs often return a detailed error description. This details can be used to better understand the root cause of the problem.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BadRequest(BadRequest)
DebugInfo(DebugInfo)
ErrorInfo(ErrorInfo)
Help(Help)
LocalizedMessage(LocalizedMessage)
PreconditionFailure(PreconditionFailure)
QuotaFailure(QuotaFailure)
RequestInfo(RequestInfo)
ResourceInfo(ResourceInfo)
RetryInfo(RetryInfo)
Other(Any)
Trait Implementations§
Source§impl Clone for StatusDetails
impl Clone for StatusDetails
Source§fn clone(&self) -> StatusDetails
fn clone(&self) -> StatusDetails
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusDetails
impl Debug for StatusDetails
Source§impl Default for StatusDetails
impl Default 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatusDetails
impl PartialEq for StatusDetails
Source§impl Serialize for StatusDetails
impl Serialize 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
Mutably borrows from an owned value. Read more