pub enum Oauth2TokenError {
Status401(GenericError),
Status500(GenericError),
UnknownValue(Value),
}
Expand description
struct for typed errors of method oauth2_token
Variants§
Trait Implementations§
Source§impl Clone for Oauth2TokenError
impl Clone for Oauth2TokenError
Source§fn clone(&self) -> Oauth2TokenError
fn clone(&self) -> Oauth2TokenError
Returns a copy 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 Oauth2TokenError
impl Debug for Oauth2TokenError
Source§impl<'de> Deserialize<'de> for Oauth2TokenError
impl<'de> Deserialize<'de> for Oauth2TokenError
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 Oauth2TokenError
impl RefUnwindSafe for Oauth2TokenError
impl Send for Oauth2TokenError
impl Sync for Oauth2TokenError
impl Unpin for Oauth2TokenError
impl UnwindSafe for Oauth2TokenError
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