Struct cloud_storage::GoogleError [−][src]
pub struct GoogleError {
pub domain: String,
pub reason: Reason,
pub message: String,
pub location_type: Option<String>,
pub location: Option<String>,
}Expand description
Google Error structure
Fields
domain: StringThe scope of the error. Example values include: global and push.
reason: ReasonExample values include invalid, invalidParameter, and required.
message: StringDescription of the error.
Example values include Invalid argument, Login required, and Required parameter: project.
location_type: Option<String>The location or part of the request that caused the error. Use with location to pinpoint
the error. For example, if you specify an invalid value for a parameter, the locationType
will be parameter and the location will be the name of the parameter.
Example values include header and parameter.
location: Option<String>The specific item within the locationType that caused the error. For example, if you
specify an invalid value for a parameter, the location will be the name of the parameter.
Example values include: Authorization, project, and projection.
Implementations
Trait Implementations
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 RefUnwindSafe for GoogleError
impl Send for GoogleError
impl Sync for GoogleError
impl Unpin for GoogleError
impl UnwindSafe for GoogleError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more