Struct aws_sdk_gamelift::model::MatchedPlayerSession [−][src]
#[non_exhaustive]pub struct MatchedPlayerSession {
pub player_id: Option<String>,
pub player_session_id: Option<String>,
}
Expand description
Represents a new player session that is created as a result of a successful FlexMatch match. A successful match automatically creates new player sessions for every player ID in the original matchmaking request.
When players connect to the match's game session, they must include both player ID and player session ID in order to claim their assigned player slot.
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.player_id: Option<String>
A unique identifier for a player
player_session_id: Option<String>
A unique identifier for a player session
Implementations
Creates a new builder-style object to manufacture MatchedPlayerSession
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MatchedPlayerSession
impl Send for MatchedPlayerSession
impl Sync for MatchedPlayerSession
impl Unpin for MatchedPlayerSession
impl UnwindSafe for MatchedPlayerSession
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more