Struct apistos_models::security::OauthFlows
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)