[][src]Struct modio::auth::OculusOptions

pub struct OculusOptions { /* fields omitted */ }

Authentication options for an Oculus user.

See the mod.io docs for more information.

Implementations

impl OculusOptions[src]

pub fn new_for_quest<T>(nonce: T, user_id: u64, auth_token: T) -> Self where
    T: Into<String>, 
[src]

pub fn new_for_rift<T>(nonce: T, user_id: u64, auth_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 common year.

Trait Implementations

impl From<OculusOptions> 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.