[][src]Struct rusoto_gamelift::MatchmakingTicket

pub struct MatchmakingTicket {
    pub configuration_name: Option<String>,
    pub end_time: Option<f64>,
    pub estimated_wait_time: Option<i64>,
    pub game_session_connection_info: Option<GameSessionConnectionInfo>,
    pub players: Option<Vec<Player>>,
    pub start_time: Option<f64>,
    pub status: Option<String>,
    pub status_message: Option<String>,
    pub status_reason: Option<String>,
    pub ticket_id: Option<String>,
}

Ticket generated to track the progress of a matchmaking request. Each ticket is uniquely identified by a ticket ID, supplied by the requester, when creating a matchmaking request with StartMatchmaking. Tickets can be retrieved by calling DescribeMatchmaking with the ticket ID.

Fields

configuration_name: Option<String>

Name of the MatchmakingConfiguration that is used with this ticket. Matchmaking configurations determine how players are grouped into a match and how a new game session is created for the match.

end_time: Option<f64>

Time stamp indicating when this matchmaking request stopped being processed due to success, failure, or cancellation. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

estimated_wait_time: Option<i64>

Average amount of time (in seconds) that players are currently waiting for a match. If there is not enough recent data, this property may be empty.

game_session_connection_info: Option<GameSessionConnectionInfo>

Identifier and connection information of the game session created for the match. This information is added to the ticket only after the matchmaking request has been successfully completed.

players: Option<Vec<Player>>

A set of Player objects, each representing a player to find matches for. Players are identified by a unique player ID and may include latency data for use during matchmaking. If the ticket is in status COMPLETED, the Player objects include the team the players were assigned to in the resulting match.

start_time: Option<f64>

Time stamp indicating when this matchmaking request was received. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

status: Option<String>

Current status of the matchmaking request.

Matchmaking requests that fail to successfully complete (statuses FAILED, CANCELLED, TIMED_OUT) can be resubmitted as new requests with new ticket IDs.

status_message: Option<String>

Additional information about the current status.

status_reason: Option<String>

Code to explain the current status. For example, a status reason may indicate when a ticket has returned to SEARCHING status after a proposed match fails to receive player acceptances.

ticket_id: Option<String>

Unique identifier for a matchmaking ticket.

Trait Implementations

impl PartialEq<MatchmakingTicket> for MatchmakingTicket[src]

impl Default for MatchmakingTicket[src]

impl Clone for MatchmakingTicket[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MatchmakingTicket[src]

impl<'de> Deserialize<'de> for MatchmakingTicket[src]

Auto Trait Implementations

impl Send for MatchmakingTicket

impl Sync for MatchmakingTicket

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self