[]Struct rweb::openapi::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

impl Debug for Flows

impl<'de> Deserialize<'de> for Flows

impl PartialEq<Flows> for Flows

impl Serialize for Flows

impl StructuralPartialEq for Flows

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: Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,