pub struct OauthImplicit {
pub authorization_url: String,
pub refresh_url: Option<String>,
pub scopes: BTreeMap<String, String>,
}
Fields§
The authorization URL to be used for this flow. This MUST be in the form of a URL.
refresh_url: Option<String>
The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.
scopes: BTreeMap<String, String>
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
Trait Implementations§
Source§impl Clone for OauthImplicit
impl Clone for OauthImplicit
Source§fn clone(&self) -> OauthImplicit
fn clone(&self) -> OauthImplicit
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 OauthImplicit
impl Debug for OauthImplicit
Source§impl Default for OauthImplicit
impl Default for OauthImplicit
Source§fn default() -> OauthImplicit
fn default() -> OauthImplicit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OauthImplicit
impl RefUnwindSafe for OauthImplicit
impl Send for OauthImplicit
impl Sync for OauthImplicit
impl Unpin for OauthImplicit
impl UnwindSafe for OauthImplicit
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