pub struct OAuth2Error {
pub error: String,
pub error_description: Option<String>,
pub error_uri: Option<String>,
}Expand description
Structured OAuth2 error response from the token endpoint.
Fields§
§error: String§error_description: Option<String>§error_uri: Option<String>Trait Implementations§
Source§impl Clone for OAuth2Error
impl Clone for OAuth2Error
Source§fn clone(&self) -> OAuth2Error
fn clone(&self) -> OAuth2Error
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 moreSource§impl Debug for OAuth2Error
impl Debug for OAuth2Error
Source§impl<'de> Deserialize<'de> for OAuth2Error
impl<'de> Deserialize<'de> for OAuth2Error
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 OAuth2Error
impl RefUnwindSafe for OAuth2Error
impl Send for OAuth2Error
impl Sync for OAuth2Error
impl Unpin for OAuth2Error
impl UnsafeUnpin for OAuth2Error
impl UnwindSafe for OAuth2Error
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