Struct rusty_box::auth::auth_errors::AuthErrorResponse
source · pub struct AuthErrorResponse {
pub error: Option<String>,
pub error_description: Option<String>,
}Fields§
§error: Option<String>The type of the error returned.
error_description: Option<String>The type of the error returned.
Implementations§
source§impl AuthErrorResponse
impl AuthErrorResponse
sourcepub fn new() -> AuthErrorResponse
pub fn new() -> AuthErrorResponse
An OAuth 2.0 error
Trait Implementations§
source§impl Clone for AuthErrorResponse
impl Clone for AuthErrorResponse
source§fn clone(&self) -> AuthErrorResponse
fn clone(&self) -> AuthErrorResponse
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 AuthErrorResponse
impl Debug for AuthErrorResponse
source§impl Default for AuthErrorResponse
impl Default for AuthErrorResponse
source§fn default() -> AuthErrorResponse
fn default() -> AuthErrorResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthErrorResponse
impl<'de> Deserialize<'de> for AuthErrorResponse
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 Display for AuthErrorResponse
impl Display for AuthErrorResponse
source§impl From<AuthErrorResponse> for AuthError
impl From<AuthErrorResponse> for AuthError
source§fn from(e: AuthErrorResponse) -> Self
fn from(e: AuthErrorResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq<AuthErrorResponse> for AuthErrorResponse
impl PartialEq<AuthErrorResponse> for AuthErrorResponse
source§fn eq(&self, other: &AuthErrorResponse) -> bool
fn eq(&self, other: &AuthErrorResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AuthErrorResponse
impl Serialize for AuthErrorResponse
impl StructuralPartialEq for AuthErrorResponse
Auto Trait Implementations§
impl RefUnwindSafe for AuthErrorResponse
impl Send for AuthErrorResponse
impl Sync for AuthErrorResponse
impl Unpin for AuthErrorResponse
impl UnwindSafe for AuthErrorResponse
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