pub struct AuthorizationCodeOAuth2Flow {
pub authorization_url: String,
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes: IndexMap<String, String>,
pub extensions: IndexMap<String, Value>,
}Fields§
The authorization URL to be used for this flow. This MUST be in the form of a URL.
token_url: StringThe token 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: IndexMap<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.
extensions: IndexMap<String, Value>Inline extensions to this object.
Trait Implementations§
Source§impl Clone for AuthorizationCodeOAuth2Flow
impl Clone for AuthorizationCodeOAuth2Flow
Source§fn clone(&self) -> AuthorizationCodeOAuth2Flow
fn clone(&self) -> AuthorizationCodeOAuth2Flow
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 AuthorizationCodeOAuth2Flow
impl Debug for AuthorizationCodeOAuth2Flow
Source§impl<'de> Deserialize<'de> for AuthorizationCodeOAuth2Flow
impl<'de> Deserialize<'de> for AuthorizationCodeOAuth2Flow
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
impl StructuralPartialEq for AuthorizationCodeOAuth2Flow
Auto Trait Implementations§
impl Freeze for AuthorizationCodeOAuth2Flow
impl RefUnwindSafe for AuthorizationCodeOAuth2Flow
impl Send for AuthorizationCodeOAuth2Flow
impl Sync for AuthorizationCodeOAuth2Flow
impl Unpin for AuthorizationCodeOAuth2Flow
impl UnwindSafe for AuthorizationCodeOAuth2Flow
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