pub struct AuthorizationErrorResponse {
pub error: String,
pub error_description: Option<String>,
pub error_uri: Option<String>,
}Expand description
An error the provider returned on the callback redirect
(RFC 6749 §4.1.2.1) instead of an authorization code — for example when
the user denies consent (access_denied).
Fields§
§error: StringThe error code, e.g. access_denied or invalid_scope.
error_description: Option<String>The optional human-readable error_description.
error_uri: Option<String>The optional error_uri pointing at documentation.
Trait Implementations§
Source§impl Clone for AuthorizationErrorResponse
impl Clone for AuthorizationErrorResponse
Source§fn clone(&self) -> AuthorizationErrorResponse
fn clone(&self) -> AuthorizationErrorResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthorizationErrorResponse
impl RefUnwindSafe for AuthorizationErrorResponse
impl Send for AuthorizationErrorResponse
impl Sync for AuthorizationErrorResponse
impl Unpin for AuthorizationErrorResponse
impl UnsafeUnpin for AuthorizationErrorResponse
impl UnwindSafe for AuthorizationErrorResponse
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