Struct rusoto_gamelift::GameSession
[−]
[src]
pub struct GameSession { pub creation_time: Option<Timestamp>, pub creator_id: Option<NonZeroAndMaxString>, pub current_player_session_count: Option<WholeNumber>, pub fleet_id: Option<FleetId>, pub game_properties: Option<GamePropertyList>, pub game_session_id: Option<NonZeroAndMaxString>, pub ip_address: Option<IpAddress>, pub maximum_player_session_count: Option<WholeNumber>, pub name: Option<NonZeroAndMaxString>, pub player_session_creation_policy: Option<PlayerSessionCreationPolicy>, pub port: Option<PortNumber>, pub status: Option<GameSessionStatus>, pub termination_time: Option<Timestamp>, }
Properties describing a game session.
Fields
creation_time: Option<Timestamp>
Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
creator_id: Option<NonZeroAndMaxString>
Unique identifier for a player. This ID is used to enforce a resource protection policy (if one exists), that limits the number of game sessions a player can create.
current_player_session_count: Option<WholeNumber>
Number of players currently in the game session.
fleet_id: Option<FleetId>
Unique identifier for a fleet the game session is running on.
game_properties: Option<GamePropertyList>
Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session.
game_session_id: Option<NonZeroAndMaxString>
Unique identifier for the game session. A game session ID has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.
ip_address: Option<IpAddress>
IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number.
maximum_player_session_count: Option<WholeNumber>
Maximum number of players that can be connected simultaneously to the game session.
name: Option<NonZeroAndMaxString>
Descriptive label that is associated with a game session. Session names do not need to be unique.
player_session_creation_policy: Option<PlayerSessionCreationPolicy>
Indicates whether or not the game session is accepting new players.
port: Option<PortNumber>
Port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number.
status: Option<GameSessionStatus>
Current status of the game session. A game session must have an ACTIVE
status to have player sessions.
termination_time: Option<Timestamp>
Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
Trait Implementations
impl Default for GameSession
[src]
fn default() -> GameSession
Returns the "default value" for a type. Read more
impl Debug for GameSession
[src]
impl Clone for GameSession
[src]
fn clone(&self) -> GameSession
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more