pub enum OAuthFlow {
AuthorizationCode {
authorization_url: &'static str,
token_url: &'static str,
},
Implicit {
authorization_url: &'static str,
},
Password {
token_url: &'static str,
},
ClientCredentials {
token_url: &'static str,
},
}Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for OAuthFlow
Auto Trait Implementations§
impl Freeze for OAuthFlow
impl RefUnwindSafe for OAuthFlow
impl Send for OAuthFlow
impl Sync for OAuthFlow
impl Unpin for OAuthFlow
impl UnwindSafe for OAuthFlow
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)