Struct aws_sdk_gamelift::types::FleetUtilization
source · #[non_exhaustive]pub struct FleetUtilization {
pub fleet_id: Option<String>,
pub fleet_arn: Option<String>,
pub active_server_process_count: Option<i32>,
pub active_game_session_count: Option<i32>,
pub current_player_session_count: Option<i32>,
pub maximum_player_session_count: Option<i32>,
pub location: Option<String>,
}
Expand description
Current resource utilization statistics in a specified fleet or location. The location value might refer to a fleet's remote location or its home region.
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.fleet_id: Option<String>
A unique identifier for the fleet associated with the location.
fleet_arn: Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
active_server_process_count: Option<i32>
The number of server processes in ACTIVE
status that are currently running across all instances in the fleet location.
active_game_session_count: Option<i32>
The number of active game sessions that are currently being hosted across all instances in the fleet location.
current_player_session_count: Option<i32>
The number of active player sessions that are currently being hosted across all instances in the fleet location.
maximum_player_session_count: Option<i32>
The maximum number of players allowed across all game sessions that are currently being hosted across all instances in the fleet location.
location: Option<String>
The fleet location for the fleet utilization information, expressed as an Amazon Web Services Region code, such as us-west-2
.
Implementations§
source§impl FleetUtilization
impl FleetUtilization
sourcepub fn fleet_id(&self) -> Option<&str>
pub fn fleet_id(&self) -> Option<&str>
A unique identifier for the fleet associated with the location.
sourcepub fn fleet_arn(&self) -> Option<&str>
pub fn fleet_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn active_server_process_count(&self) -> Option<i32>
pub fn active_server_process_count(&self) -> Option<i32>
The number of server processes in ACTIVE
status that are currently running across all instances in the fleet location.
sourcepub fn active_game_session_count(&self) -> Option<i32>
pub fn active_game_session_count(&self) -> Option<i32>
The number of active game sessions that are currently being hosted across all instances in the fleet location.
sourcepub fn current_player_session_count(&self) -> Option<i32>
pub fn current_player_session_count(&self) -> Option<i32>
The number of active player sessions that are currently being hosted across all instances in the fleet location.
sourcepub fn maximum_player_session_count(&self) -> Option<i32>
pub fn maximum_player_session_count(&self) -> Option<i32>
The maximum number of players allowed across all game sessions that are currently being hosted across all instances in the fleet location.
source§impl FleetUtilization
impl FleetUtilization
sourcepub fn builder() -> FleetUtilizationBuilder
pub fn builder() -> FleetUtilizationBuilder
Creates a new builder-style object to manufacture FleetUtilization
.
Trait Implementations§
source§impl Clone for FleetUtilization
impl Clone for FleetUtilization
source§fn clone(&self) -> FleetUtilization
fn clone(&self) -> FleetUtilization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FleetUtilization
impl Debug for FleetUtilization
source§impl PartialEq for FleetUtilization
impl PartialEq for FleetUtilization
source§fn eq(&self, other: &FleetUtilization) -> bool
fn eq(&self, other: &FleetUtilization) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FleetUtilization
Auto Trait Implementations§
impl Freeze for FleetUtilization
impl RefUnwindSafe for FleetUtilization
impl Send for FleetUtilization
impl Sync for FleetUtilization
impl Unpin for FleetUtilization
impl UnwindSafe for FleetUtilization
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more