pub struct OAuthErrorResponse {
pub error: String,
pub error_description: Option<String>,
}Expand description
Represents an error response from an OAuth2 provider.
Fields§
§error: StringThe error code.
error_description: Option<String>A human-readable ASCII text description of the error.
Trait Implementations§
Source§impl Clone for OAuthErrorResponse
impl Clone for OAuthErrorResponse
Source§fn clone(&self) -> OAuthErrorResponse
fn clone(&self) -> OAuthErrorResponse
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 OAuthErrorResponse
impl Debug for OAuthErrorResponse
Source§impl<'de> Deserialize<'de> for OAuthErrorResponse
impl<'de> Deserialize<'de> for OAuthErrorResponse
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
Auto Trait Implementations§
impl Freeze for OAuthErrorResponse
impl RefUnwindSafe for OAuthErrorResponse
impl Send for OAuthErrorResponse
impl Sync for OAuthErrorResponse
impl Unpin for OAuthErrorResponse
impl UnsafeUnpin for OAuthErrorResponse
impl UnwindSafe for OAuthErrorResponse
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