pub struct ImplicitOAuthFlow {
pub authorization_url: String,
pub scopes: HashMap<String, String>,
pub refresh_url: Option<String>,
}Expand description
Defines configuration details for the OAuth 2.0 Implicit flow.
Fields§
The authorization URL to be used for this flow.
scopes: HashMap<String, String>The available scopes for the OAuth2 security scheme.
refresh_url: Option<String>The URL to be used for obtaining refresh tokens.
Trait Implementations§
Source§impl Clone for ImplicitOAuthFlow
impl Clone for ImplicitOAuthFlow
Source§fn clone(&self) -> ImplicitOAuthFlow
fn clone(&self) -> ImplicitOAuthFlow
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 ImplicitOAuthFlow
impl Debug for ImplicitOAuthFlow
Source§impl<'de> Deserialize<'de> for ImplicitOAuthFlow
impl<'de> Deserialize<'de> for ImplicitOAuthFlow
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImplicitOAuthFlow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImplicitOAuthFlow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImplicitOAuthFlow
impl PartialEq for ImplicitOAuthFlow
Source§impl Serialize for ImplicitOAuthFlow
impl Serialize for ImplicitOAuthFlow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ImplicitOAuthFlow
impl StructuralPartialEq for ImplicitOAuthFlow
Auto Trait Implementations§
impl Freeze for ImplicitOAuthFlow
impl RefUnwindSafe for ImplicitOAuthFlow
impl Send for ImplicitOAuthFlow
impl Sync for ImplicitOAuthFlow
impl Unpin for ImplicitOAuthFlow
impl UnwindSafe for ImplicitOAuthFlow
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