Struct aws_sdk_gamelift::input::CreatePlayerSessionsInput [−][src]
#[non_exhaustive]pub struct CreatePlayerSessionsInput {
pub game_session_id: Option<String>,
pub player_ids: Option<Vec<String>>,
pub player_data_map: Option<HashMap<String, String>>,
}
Expand description
Represents the input for a request operation.
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.game_session_id: Option<String>
A unique identifier for the game session to add players to.
player_ids: Option<Vec<String>>
List of unique identifiers for the players to be added.
player_data_map: Option<HashMap<String, String>>
Map of string pairs, each specifying a player ID and a set of developer-defined
information related to the player. Amazon GameLift does not use this data, so it can be formatted
as needed for use in the game. Any player data strings for player IDs that are not
included in the PlayerIds
parameter are ignored.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlayerSessions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePlayerSessions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreatePlayerSessions
>
Creates a new builder-style object to manufacture CreatePlayerSessionsInput
A unique identifier for the game session to add players to.
List of unique identifiers for the players to be added.
Map of string pairs, each specifying a player ID and a set of developer-defined
information related to the player. Amazon GameLift does not use this data, so it can be formatted
as needed for use in the game. Any player data strings for player IDs that are not
included in the PlayerIds
parameter are ignored.
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 CreatePlayerSessionsInput
impl Send for CreatePlayerSessionsInput
impl Sync for CreatePlayerSessionsInput
impl Unpin for CreatePlayerSessionsInput
impl UnwindSafe for CreatePlayerSessionsInput
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