Struct rivet_identity::output::PrepareGameLinkOutput
source · [−]#[non_exhaustive]pub struct PrepareGameLinkOutput {
pub identity_link_token: Option<String>,
pub identity_link_url: Option<String>,
pub expire_ts: Option<DateTime>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.identity_link_token: Option<String>
Pass this to rivet.api.identity#GetGameLink
to get the linking status. Valid for 15 minutes.
identity_link_url: Option<String>
The URL that the user should visit to link their Rivet account.
expire_ts: Option<DateTime>
Timestamp (in milliseconds) at which the link will expire.
Implementations
sourceimpl PrepareGameLinkOutput
impl PrepareGameLinkOutput
sourcepub fn identity_link_token(&self) -> Option<&str>
pub fn identity_link_token(&self) -> Option<&str>
Pass this to rivet.api.identity#GetGameLink
to get the linking status. Valid for 15 minutes.
sourcepub fn identity_link_url(&self) -> Option<&str>
pub fn identity_link_url(&self) -> Option<&str>
The URL that the user should visit to link their Rivet account.
sourceimpl PrepareGameLinkOutput
impl PrepareGameLinkOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PrepareGameLinkOutput
Trait Implementations
sourceimpl Clone for PrepareGameLinkOutput
impl Clone for PrepareGameLinkOutput
sourcefn clone(&self) -> PrepareGameLinkOutput
fn clone(&self) -> PrepareGameLinkOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrepareGameLinkOutput
impl Debug for PrepareGameLinkOutput
sourceimpl PartialEq<PrepareGameLinkOutput> for PrepareGameLinkOutput
impl PartialEq<PrepareGameLinkOutput> for PrepareGameLinkOutput
sourcefn eq(&self, other: &PrepareGameLinkOutput) -> bool
fn eq(&self, other: &PrepareGameLinkOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrepareGameLinkOutput) -> bool
fn ne(&self, other: &PrepareGameLinkOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for PrepareGameLinkOutput
Auto Trait Implementations
impl RefUnwindSafe for PrepareGameLinkOutput
impl Send for PrepareGameLinkOutput
impl Sync for PrepareGameLinkOutput
impl Unpin for PrepareGameLinkOutput
impl UnwindSafe for PrepareGameLinkOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more