pub struct OAuthError {
pub change_password_id: Option<String>,
pub error_description: Option<String>,
pub error: Option<OAuthErrorType>,
pub error_uri: Option<String>,
pub two_factor_methods: Option<Vec<TwoFactorMethod>>,
pub error_reason: Option<OAuthErrorReason>,
pub two_factor_id: Option<String>,
}
Expand description
OAuthError :
Fields§
§change_password_id: Option<String>
§error_description: Option<String>
§error: Option<OAuthErrorType>
§error_uri: Option<String>
§two_factor_methods: Option<Vec<TwoFactorMethod>>
§error_reason: Option<OAuthErrorReason>
§two_factor_id: Option<String>
Implementations§
Source§impl OAuthError
impl OAuthError
Sourcepub fn new() -> OAuthError
pub fn new() -> 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 · Source§const fn clone_from(&mut self, source: &Self)
const 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§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 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