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 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 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 for AuthErrorResponse
impl PartialEq for AuthErrorResponse
Source§impl Serialize for AuthErrorResponse
impl Serialize for AuthErrorResponse
impl StructuralPartialEq for AuthErrorResponse
Auto Trait Implementations§
impl Freeze for AuthErrorResponse
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