pub enum AuthorizationType {
RequestToken {
callback: String,
},
AccessToken {
verifier: String,
},
Request,
}
Expand description
The type of endpoint to generate an Authorization header for.
Variants§
RequestToken
A request to the request token endpoint.
AccessToken
A request to the access token endpoint.
Request
A standard request made after authentication.
Trait Implementations§
Source§impl Clone for AuthorizationType
impl Clone for AuthorizationType
Source§fn clone(&self) -> AuthorizationType
fn clone(&self) -> AuthorizationType
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 AuthorizationType
impl Debug for AuthorizationType
Source§impl<'de> Deserialize<'de> for AuthorizationType
impl<'de> Deserialize<'de> for AuthorizationType
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 Hash for AuthorizationType
impl Hash for AuthorizationType
Source§impl Ord for AuthorizationType
impl Ord for AuthorizationType
Source§fn cmp(&self, other: &AuthorizationType) -> Ordering
fn cmp(&self, other: &AuthorizationType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthorizationType
impl PartialEq for AuthorizationType
Source§impl PartialOrd for AuthorizationType
impl PartialOrd for AuthorizationType
Source§impl Serialize for AuthorizationType
impl Serialize for AuthorizationType
impl Eq for AuthorizationType
impl StructuralPartialEq for AuthorizationType
Auto Trait Implementations§
impl Freeze for AuthorizationType
impl RefUnwindSafe for AuthorizationType
impl Send for AuthorizationType
impl Sync for AuthorizationType
impl Unpin for AuthorizationType
impl UnwindSafe for AuthorizationType
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