pub struct ErrorReason(/* private fields */);Expand description
Defines the supported values for google.rpc.ErrorInfo.reason for the
googleapis.com error domain. This error domain is reserved for Service
Infrastructure.
For each error info of this domain, the metadata key “service” refers to the
logical identifier of an API service, such as “pubsub.googleapis.com”. The
“consumer” refers to the entity that consumes an API Service. It typically is
a Google project that owns the client application or the server resource,
such as “projects/123”. Other metadata keys are specific to each error
reason. For more information, see the definition of the specific error
reason.
Implementations§
Trait Implementations§
Source§impl Clone for ErrorReason
impl Clone for ErrorReason
Source§fn clone(&self) -> ErrorReason
fn clone(&self) -> ErrorReason
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 ErrorReason
impl Debug for ErrorReason
Source§impl Default for ErrorReason
impl Default for ErrorReason
Source§fn default() -> ErrorReason
fn default() -> ErrorReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorReason
impl<'de> Deserialize<'de> for ErrorReason
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 From<String> for ErrorReason
impl From<String> for ErrorReason
Source§impl PartialEq for ErrorReason
impl PartialEq for ErrorReason
Source§impl Serialize for ErrorReason
impl Serialize for ErrorReason
impl StructuralPartialEq for ErrorReason
Auto Trait Implementations§
impl Freeze for ErrorReason
impl RefUnwindSafe for ErrorReason
impl Send for ErrorReason
impl Sync for ErrorReason
impl Unpin for ErrorReason
impl UnwindSafe for ErrorReason
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