Struct aws_sdk_gamelift::input::AcceptMatchInput [−][src]
#[non_exhaustive]pub struct AcceptMatchInput {
pub ticket_id: Option<String>,
pub player_ids: Option<Vec<String>>,
pub acceptance_type: Option<AcceptanceType>,
}
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. The ticket must be in status REQUIRES_ACCEPTANCE
; otherwise this
request will fail.
player_ids: Option<Vec<String>>
A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
acceptance_type: Option<AcceptanceType>
Player response to the proposed match.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AcceptMatch, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AcceptMatch, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AcceptMatch
>
Creates a new builder-style object to manufacture AcceptMatchInput
A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE
; otherwise this
request will fail.
A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
Player response to the proposed match.
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 AcceptMatchInput
impl Send for AcceptMatchInput
impl Sync for AcceptMatchInput
impl Unpin for AcceptMatchInput
impl UnwindSafe for AcceptMatchInput
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