pub struct OauthFlows {
pub implicit: Option<OauthImplicit>,
pub password: Option<OauthToken>,
pub client_credentials: Option<OauthToken>,
pub authorization_code: Option<OauthToken>,
pub extensions: IndexMap<String, Value>,
}
Expand description
Allows configuration of the supported OAuth Flows.
Fields§
§implicit: Option<OauthImplicit>
Configuration for the OAuth Implicit flow
password: Option<OauthToken>
Configuration for the OAuth Resource Owner Password flow
client_credentials: Option<OauthToken>
Configuration for the OAuth Client Credentials flow. Previously called application
in OpenAPI 2.0.
Configuration for the OAuth Authorization Code flow. Previously called accessCode
in OpenAPI 2.0.
extensions: IndexMap<String, Value>
This object MAY be extended with Specification Extensions.
Trait Implementations§
Source§impl Clone for OauthFlows
impl Clone for OauthFlows
Source§fn clone(&self) -> OauthFlows
fn clone(&self) -> OauthFlows
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 OauthFlows
impl Debug for OauthFlows
Source§impl Default for OauthFlows
impl Default for OauthFlows
Source§fn default() -> OauthFlows
fn default() -> OauthFlows
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OauthFlows
impl RefUnwindSafe for OauthFlows
impl Send for OauthFlows
impl Sync for OauthFlows
impl Unpin for OauthFlows
impl UnwindSafe for OauthFlows
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