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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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