Struct openapi_schema::v3::OAuthFlows
source · pub struct OAuthFlows {
pub implicit: Option<OAuthFlow>,
pub password: Option<OAuthFlow>,
pub client_credentials: Option<OAuthFlow>,
pub authorization_code: Option<OAuthFlow>,
}
Expand description
OAuthFlows
Allows configuration of the supported OAuth Flows.
Fields§
§implicit: Option<OAuthFlow>
Configuration for the OAuth Implicit flow
password: Option<OAuthFlow>
Configuration for the OAuth Resource Owner Password flow
client_credentials: Option<OAuthFlow>
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.
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<'de> Deserialize<'de> for OAuthFlows
impl<'de> Deserialize<'de> for OAuthFlows
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
source§impl PartialEq<OAuthFlows> for OAuthFlows
impl PartialEq<OAuthFlows> for OAuthFlows
source§fn eq(&self, other: &OAuthFlows) -> bool
fn eq(&self, other: &OAuthFlows) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OAuthFlows
impl Serialize for OAuthFlows
impl StructuralPartialEq for OAuthFlows
Auto Trait Implementations§
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