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 for ErrorGeneric
impl PartialEq 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 ==.source§impl Serialize for ErrorGeneric
impl Serialize for ErrorGeneric
impl StructuralPartialEq for ErrorGeneric
Auto Trait Implementations§
impl RefUnwindSafe for ErrorGeneric
impl Send for ErrorGeneric
impl Sync for ErrorGeneric
impl Unpin for ErrorGeneric
impl UnwindSafe for ErrorGeneric
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