[][src]Struct openidconnect::ResponseTypes

pub struct ResponseTypes<RT: ResponseType>(_);

Informs the Authorization Server of the desired authorization processing flow, including what parameters are returned from the endpoints used.

See OAuth 2.0 Multiple Response Type Encoding Practices for further details.

Methods

impl<RT: ResponseType> ResponseTypes<RT>[src]

pub fn new(s: Vec<RT>) -> Self[src]

Create a new ResponseTypes to wrap the given Vec.

Trait Implementations

impl<RT: Clone + ResponseType> Clone for ResponseTypes<RT>[src]

impl<RT: PartialEq + ResponseType> PartialEq<ResponseTypes<RT>> for ResponseTypes<RT>[src]

impl<RT: ResponseType> Deref for ResponseTypes<RT>[src]

type Target = Vec<RT>

The resulting type after dereferencing.

impl<RT: Debug + ResponseType> Debug for ResponseTypes<RT>[src]

impl<RT: ResponseType> Serialize for ResponseTypes<RT>[src]

impl<'de, RT: ResponseType> Deserialize<'de> for ResponseTypes<RT>[src]

Auto Trait Implementations

impl<RT> Unpin for ResponseTypes<RT> where
    RT: Unpin

impl<RT> Sync for ResponseTypes<RT> where
    RT: Sync

impl<RT> Send for ResponseTypes<RT> where
    RT: Send

impl<RT> UnwindSafe for ResponseTypes<RT> where
    RT: UnwindSafe

impl<RT> RefUnwindSafe for ResponseTypes<RT> where
    RT: RefUnwindSafe

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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