Struct ory_client::models::error_generic::ErrorGeneric
source · pub struct ErrorGeneric {
pub error: Box<GenericErrorContent>,
}
Expand description
ErrorGeneric : The standard Ory JSON API error format.
Fields§
§error: Box<GenericErrorContent>
Implementations§
source§impl ErrorGeneric
impl ErrorGeneric
sourcepub fn new(error: GenericErrorContent) -> ErrorGeneric
pub fn new(error: GenericErrorContent) -> ErrorGeneric
The standard Ory JSON API error format.
Trait Implementations§
source§impl Clone for ErrorGeneric
impl Clone for ErrorGeneric
source§fn clone(&self) -> ErrorGeneric
fn clone(&self) -> ErrorGeneric
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 ErrorGeneric
impl Debug for ErrorGeneric
source§impl<'de> Deserialize<'de> for ErrorGeneric
impl<'de> Deserialize<'de> for ErrorGeneric
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<ErrorGeneric> for ErrorGeneric
impl PartialEq<ErrorGeneric> for ErrorGeneric
source§fn eq(&self, other: &ErrorGeneric) -> bool
fn eq(&self, other: &ErrorGeneric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.