[][src]Struct jsona_openapi_spec::Flows

pub struct Flows {
    pub implicit: Option<ImplicitFlow>,
    pub password: Option<PasswordFlow>,
    pub client_credentials: Option<ClientCredentialsFlow>,
    pub authorization_code: Option<AuthorizationCodeFlow>,
}

Allows configuration of the supported OAuth Flows. See [link] [link][https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oauth-flows-object]

Fields

implicit: Option<ImplicitFlow>password: Option<PasswordFlow>client_credentials: Option<ClientCredentialsFlow>authorization_code: Option<AuthorizationCodeFlow>

Trait Implementations

impl Clone for Flows[src]

impl Debug for Flows[src]

impl<'de> Deserialize<'de> for Flows[src]

impl PartialEq<Flows> for Flows[src]

impl Serialize for Flows[src]

impl StructuralPartialEq for Flows[src]

Auto Trait Implementations

impl RefUnwindSafe for Flows

impl Send for Flows

impl Sync for Flows

impl Unpin for Flows

impl UnwindSafe for Flows

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.