Struct ory_hydra_client::models::error_o_auth2::ErrorOAuth2
source · pub struct ErrorOAuth2 {
pub error: Option<String>,
pub error_debug: Option<String>,
pub error_description: Option<String>,
pub error_hint: Option<String>,
pub status_code: Option<i64>,
}
Expand description
ErrorOAuth2 : Error
Fields§
§error: Option<String>
Error
error_debug: Option<String>
Error Debug Information Only available in dev mode.
error_description: Option<String>
Error Description
error_hint: Option<String>
Error Hint Helps the user identify the error cause.
status_code: Option<i64>
HTTP Status Code
Implementations§
source§impl ErrorOAuth2
impl ErrorOAuth2
sourcepub fn new() -> ErrorOAuth2
pub fn new() -> ErrorOAuth2
Error
Trait Implementations§
source§impl Clone for ErrorOAuth2
impl Clone for ErrorOAuth2
source§fn clone(&self) -> ErrorOAuth2
fn clone(&self) -> ErrorOAuth2
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 ErrorOAuth2
impl Debug for ErrorOAuth2
source§impl Default for ErrorOAuth2
impl Default for ErrorOAuth2
source§impl<'de> Deserialize<'de> for ErrorOAuth2
impl<'de> Deserialize<'de> for ErrorOAuth2
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 ErrorOAuth2
impl PartialEq for ErrorOAuth2
source§fn eq(&self, other: &ErrorOAuth2) -> bool
fn eq(&self, other: &ErrorOAuth2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ErrorOAuth2
impl Serialize for ErrorOAuth2
impl StructuralPartialEq for ErrorOAuth2
Auto Trait Implementations§
impl RefUnwindSafe for ErrorOAuth2
impl Send for ErrorOAuth2
impl Sync for ErrorOAuth2
impl Unpin for ErrorOAuth2
impl UnwindSafe for ErrorOAuth2
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