[][src]Struct paperclip::v2::models::SecurityScheme

pub struct SecurityScheme {
    pub name: Option<String>,
    pub type_: String,
    pub in_: Option<String>,
    pub flow: Option<String>,
    pub auth_url: Option<String>,
    pub token_url: Option<String>,
    pub scopes: BTreeMap<String, String>,
    pub description: Option<String>,
}

Security Scheme object.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-scheme-object

Fields

name: Option<String>type_: Stringin_: Option<String>flow: Option<String>auth_url: Option<String>token_url: Option<String>scopes: BTreeMap<String, String>description: Option<String>

Trait Implementations

impl Clone for SecurityScheme[src]

impl Debug for SecurityScheme[src]

impl Default for SecurityScheme[src]

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

impl Serialize for SecurityScheme[src]

Auto Trait Implementations

impl RefUnwindSafe for SecurityScheme

impl Send for SecurityScheme

impl Sync for SecurityScheme

impl Unpin for SecurityScheme

impl UnwindSafe for SecurityScheme

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> 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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

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