pub struct GoogleErrorDetail {
pub code: Option<i64>,
pub message: Option<String>,
pub status: Option<String>,
pub details: Option<Vec<JsonValue>>,
}Expand description
The error object of a Google error response.
Fields§
§code: Option<i64>HTTP status code echoed by the API.
message: Option<String>Human-readable message.
status: Option<String>gRPC status name (RESOURCE_EXHAUSTED, INVALID_ARGUMENT, …).
details: Option<Vec<JsonValue>>Structured details (google.rpc.RetryInfo, google.rpc.QuotaFailure, …).
Trait Implementations§
Source§impl Clone for GoogleErrorDetail
impl Clone for GoogleErrorDetail
Source§fn clone(&self) -> GoogleErrorDetail
fn clone(&self) -> GoogleErrorDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GoogleErrorDetail
impl Debug for GoogleErrorDetail
Source§impl<'de> Deserialize<'de> for GoogleErrorDetail
impl<'de> Deserialize<'de> for GoogleErrorDetail
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
Auto Trait Implementations§
impl Freeze for GoogleErrorDetail
impl RefUnwindSafe for GoogleErrorDetail
impl Send for GoogleErrorDetail
impl Sync for GoogleErrorDetail
impl Unpin for GoogleErrorDetail
impl UnsafeUnpin for GoogleErrorDetail
impl UnwindSafe for GoogleErrorDetail
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