[][src]Struct graph_oauth::oauth::IdToken

pub struct IdToken { /* fields omitted */ }

Implementations

impl IdToken[src]

pub fn new(
    id_token: &str,
    code: &str,
    state: &str,
    session_state: &str
) -> IdToken
[src]

pub fn id_token(&mut self, id_token: &str)[src]

pub fn code(&mut self, code: &str)[src]

pub fn state(&mut self, state: &str)[src]

pub fn session_state(&mut self, session_state: &str)[src]

pub fn get_id_token(&self) -> String[src]

pub fn get_code(&self) -> Option<String>[src]

pub fn get_state(&self) -> Option<String>[src]

pub fn get_session_state(&self) -> Option<String>[src]

Trait Implementations

impl AsFile for IdToken[src]

type Error = FromAsError

impl Clone for IdToken[src]

impl Debug for IdToken[src]

impl Default for IdToken[src]

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

impl Eq for IdToken[src]

impl FromFile<IdToken> for IdToken[src]

type Error = FromAsError

impl FromStr for IdToken[src]

type Err = GraphFailure

The associated error which can be returned from parsing.

impl Hash for IdToken[src]

impl PartialEq<IdToken> for IdToken[src]

impl Serialize for IdToken[src]

impl StructuralEq for IdToken[src]

impl StructuralPartialEq for IdToken[src]

impl<'_> TryFrom<&'_ str> for IdToken[src]

type Error = GraphFailure

The type returned in the event of a conversion error.

impl TryFrom<String> for IdToken[src]

type Error = OAuthError

The type returned in the event of a conversion error.

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.