Struct rusoto_gamelift::PlayerLatencyPolicy [−][src]
pub struct PlayerLatencyPolicy { pub maximum_individual_player_latency_milliseconds: Option<i64>, pub policy_duration_seconds: Option<i64>, }
Queue setting that determines the highest latency allowed for individual players when placing a game session. When a latency policy is in force, a game session cannot be placed at any destination in a region where a player is reporting latency higher than the cap. Latency policies are only enforced when the placement request contains player latency information.
Queue-related operations include:
Fields
maximum_individual_player_latency_milliseconds: Option<i64>
The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
policy_duration_seconds: Option<i64>
The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.
Trait Implementations
impl Default for PlayerLatencyPolicy
[src]
impl Default for PlayerLatencyPolicy
fn default() -> PlayerLatencyPolicy
[src]
fn default() -> PlayerLatencyPolicy
Returns the "default value" for a type. Read more
impl Debug for PlayerLatencyPolicy
[src]
impl Debug for PlayerLatencyPolicy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PlayerLatencyPolicy
[src]
impl Clone for PlayerLatencyPolicy
fn clone(&self) -> PlayerLatencyPolicy
[src]
fn clone(&self) -> PlayerLatencyPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PlayerLatencyPolicy
[src]
impl PartialEq for PlayerLatencyPolicy
fn eq(&self, other: &PlayerLatencyPolicy) -> bool
[src]
fn eq(&self, other: &PlayerLatencyPolicy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PlayerLatencyPolicy) -> bool
[src]
fn ne(&self, other: &PlayerLatencyPolicy) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PlayerLatencyPolicy
impl Send for PlayerLatencyPolicy
impl Sync for PlayerLatencyPolicy
impl Sync for PlayerLatencyPolicy