Struct aws_sdk_gamelift::input::StartMatchBackfillInput
source · [−]#[non_exhaustive]pub struct StartMatchBackfillInput {
pub ticket_id: Option<String>,
pub configuration_name: Option<String>,
pub game_session_arn: Option<String>,
pub players: Option<Vec<Player>>,
}
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.ticket_id: Option<String>
A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
configuration_name: Option<String>
Name of the matchmaker to use for this request. You can use either the configuration name or ARN value. The ARN of the matchmaker that was used with the original game session is listed in the GameSession
object, MatchmakerData
property.
game_session_arn: Option<String>
A unique identifier for the game session. Use the game session ID. When using FlexMatch as a standalone matchmaking solution, this parameter is not needed.
players: Option<Vec<Player>>
Match information on all players that are currently assigned to the game session. This information is used by the matchmaker to find new players and add them to the existing game.
-
PlayerID, PlayerAttributes, Team -- This information is maintained in the
GameSession
object,MatchmakerData
property, for all players who are currently assigned to the game session. The matchmaker data is in JSON syntax, formatted as a string. For more details, see Match Data.The backfill request must specify the team membership for every player. Do not specify team if you are not using backfill.
-
LatencyInMs -- If the matchmaker uses player latency, include a latency value, in milliseconds, for the Region that the game session is currently in. Do not include latency values for any other Region.
Implementations
sourceimpl StartMatchBackfillInput
impl StartMatchBackfillInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartMatchBackfill, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartMatchBackfill, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartMatchBackfill
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartMatchBackfillInput
sourceimpl StartMatchBackfillInput
impl StartMatchBackfillInput
sourcepub fn ticket_id(&self) -> Option<&str>
pub fn ticket_id(&self) -> Option<&str>
A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the match backfill ticket status and retrieve match results.
sourcepub fn configuration_name(&self) -> Option<&str>
pub fn configuration_name(&self) -> Option<&str>
Name of the matchmaker to use for this request. You can use either the configuration name or ARN value. The ARN of the matchmaker that was used with the original game session is listed in the GameSession
object, MatchmakerData
property.
sourcepub fn game_session_arn(&self) -> Option<&str>
pub fn game_session_arn(&self) -> Option<&str>
A unique identifier for the game session. Use the game session ID. When using FlexMatch as a standalone matchmaking solution, this parameter is not needed.
sourcepub fn players(&self) -> Option<&[Player]>
pub fn players(&self) -> Option<&[Player]>
Match information on all players that are currently assigned to the game session. This information is used by the matchmaker to find new players and add them to the existing game.
-
PlayerID, PlayerAttributes, Team -- This information is maintained in the
GameSession
object,MatchmakerData
property, for all players who are currently assigned to the game session. The matchmaker data is in JSON syntax, formatted as a string. For more details, see Match Data.The backfill request must specify the team membership for every player. Do not specify team if you are not using backfill.
-
LatencyInMs -- If the matchmaker uses player latency, include a latency value, in milliseconds, for the Region that the game session is currently in. Do not include latency values for any other Region.
Trait Implementations
sourceimpl Clone for StartMatchBackfillInput
impl Clone for StartMatchBackfillInput
sourcefn clone(&self) -> StartMatchBackfillInput
fn clone(&self) -> StartMatchBackfillInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartMatchBackfillInput
impl Debug for StartMatchBackfillInput
sourceimpl PartialEq<StartMatchBackfillInput> for StartMatchBackfillInput
impl PartialEq<StartMatchBackfillInput> for StartMatchBackfillInput
sourcefn eq(&self, other: &StartMatchBackfillInput) -> bool
fn eq(&self, other: &StartMatchBackfillInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartMatchBackfillInput) -> bool
fn ne(&self, other: &StartMatchBackfillInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartMatchBackfillInput
Auto Trait Implementations
impl RefUnwindSafe for StartMatchBackfillInput
impl Send for StartMatchBackfillInput
impl Sync for StartMatchBackfillInput
impl Unpin for StartMatchBackfillInput
impl UnwindSafe for StartMatchBackfillInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more