[−][src]Struct modio::auth::OculusOptions
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]
T: Into<String>,
pub fn new_for_rift<T>(nonce: T, user_id: u64, auth_token: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
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]
pub fn from(options: OculusOptions) -> AuthOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for OculusOptions
[src]
impl Send for OculusOptions
[src]
impl Sync for OculusOptions
[src]
impl Unpin for OculusOptions
[src]
impl UnwindSafe for OculusOptions
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,