[][src]Struct modio::auth::ItchioOptions

pub struct ItchioOptions { /* fields omitted */ }

Authentication options for an itch.io JWT token.

See the mod.io docs for more information.

Implementations

impl ItchioOptions[src]

pub fn new<T>(token: T) -> Self where
    T: Into<String>, 
[src]

pub fn email<S: Into<String>>(self, value: S) -> Self[src]

pub fn expired_at(self, value: u64) -> Self[src]

Unix timestamp of date in which the returned token will expire. Value cannot be higher than the default value which is a week.

Trait Implementations

impl From<ItchioOptions> for AuthOptions[src]

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> 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, 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.