pub struct OAuthError {
pub error: Error,
pub error_description: Option<String>,
}Fields§
§error: Error§error_description: Option<String>Implementations§
Source§impl OAuthError
impl OAuthError
pub fn new(error: Error) -> OAuthError
Trait Implementations§
Source§impl Clone for OAuthError
impl Clone for OAuthError
Source§fn clone(&self) -> OAuthError
fn clone(&self) -> OAuthError
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 OAuthError
impl Debug for OAuthError
Source§impl Default for OAuthError
impl Default for OAuthError
Source§fn default() -> OAuthError
fn default() -> OAuthError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthError
impl<'de> Deserialize<'de> for OAuthError
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 PartialEq for OAuthError
impl PartialEq for OAuthError
Source§fn eq(&self, other: &OAuthError) -> bool
fn eq(&self, other: &OAuthError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OAuthError
impl Serialize for OAuthError
impl StructuralPartialEq for OAuthError
Auto Trait Implementations§
impl Freeze for OAuthError
impl RefUnwindSafe for OAuthError
impl Send for OAuthError
impl Sync for OAuthError
impl Unpin for OAuthError
impl UnsafeUnpin for OAuthError
impl UnwindSafe for OAuthError
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