pub struct LinkPersonaRequest {
pub cardinality_constraint: Option<String>,
pub conflicting_links_resolution_policy: Option<String>,
pub expire_time: Option<DateTime<Utc>>,
pub persona: Option<String>,
pub session_id: Option<String>,
pub token: Option<String>,
pub ttl: Option<Duration>,
}Expand description
Request to link an in-game account with a PGS principal (encoded in the session id).
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- link persona recall (request)
Fields§
§cardinality_constraint: Option<String>Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game.
conflicting_links_resolution_policy: Option<String>Required. Resolution policy to apply when the linking of a persona to a player would result in violating the specified cardinality constraint.
expire_time: Option<DateTime<Utc>>Input only. Optional expiration time.
persona: Option<String>Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for different games.
session_id: Option<String>Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
token: Option<String>Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with key rotation).
ttl: Option<Duration>Input only. Optional time-to-live.
Trait Implementations§
Source§impl Clone for LinkPersonaRequest
impl Clone for LinkPersonaRequest
Source§fn clone(&self) -> LinkPersonaRequest
fn clone(&self) -> LinkPersonaRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more