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 duplicate 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 Default for ErrorGeneric
impl Default for ErrorGeneric
Source§fn default() -> ErrorGeneric
fn default() -> ErrorGeneric
Returns the “default value” for a type. Read more
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§impl Serialize for ErrorGeneric
impl Serialize for ErrorGeneric
impl StructuralPartialEq for ErrorGeneric
Auto Trait Implementations§
impl Freeze for ErrorGeneric
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