pub struct ErrorResponse {
pub code: Option<String>,
pub message: Option<String>,
pub target: Option<String>,
pub details: Vec<ErrorResponse>,
pub additional_info: Vec<ErrorAdditionalInfo>,
}
Expand description
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)
Fields§
§code: Option<String>
The error code.
message: Option<String>
The error message.
target: Option<String>
The error target.
details: Vec<ErrorResponse>
The error details.
additional_info: Vec<ErrorAdditionalInfo>
The error additional info.
Implementations§
source§impl ErrorResponse
impl ErrorResponse
Trait Implementations§
source§impl Clone for ErrorResponse
impl Clone for ErrorResponse
source§fn clone(&self) -> ErrorResponse
fn clone(&self) -> ErrorResponse
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 ErrorResponse
impl Debug for ErrorResponse
source§impl Default for ErrorResponse
impl Default for ErrorResponse
source§fn default() -> ErrorResponse
fn default() -> ErrorResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ErrorResponse
impl<'de> Deserialize<'de> for ErrorResponse
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<ErrorResponse> for ErrorResponse
impl PartialEq<ErrorResponse> for ErrorResponse
source§fn eq(&self, other: &ErrorResponse) -> bool
fn eq(&self, other: &ErrorResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.