Struct aws_sdk_gamelift::types::LocationState
source · #[non_exhaustive]pub struct LocationState {
pub location: Option<String>,
pub status: Option<FleetStatus>,
}
Expand description
A fleet location and its life-cycle state. A location state object might be used to describe a fleet's remote location or home Region. Life-cycle state tracks the progress of launching the first instance in a new location and preparing it for game hosting, and then removing all instances and deleting the location from the fleet.
-
NEW -- A new fleet location has been defined and desired instances is set to 1.
-
DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet location, creating new instances with the game build or Realtime script and starting server processes.
-
ACTIVE -- Hosts can now accept game sessions.
-
ERROR -- An error occurred when downloading, validating, building, or activating the fleet location.
-
DELETING -- Hosts are responding to a delete fleet location request.
-
TERMINATED -- The fleet location no longer exists.
-
NOT_FOUND -- The fleet location was not found. This could be because the custom location was removed or not created.
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.location: Option<String>
The fleet location, expressed as an Amazon Web Services Region code such as us-west-2
.
status: Option<FleetStatus>
The life-cycle status of a fleet location.
Implementations§
source§impl LocationState
impl LocationState
source§impl LocationState
impl LocationState
sourcepub fn builder() -> LocationStateBuilder
pub fn builder() -> LocationStateBuilder
Creates a new builder-style object to manufacture LocationState
.
Trait Implementations§
source§impl Clone for LocationState
impl Clone for LocationState
source§fn clone(&self) -> LocationState
fn clone(&self) -> LocationState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocationState
impl Debug for LocationState
source§impl PartialEq for LocationState
impl PartialEq for LocationState
source§fn eq(&self, other: &LocationState) -> bool
fn eq(&self, other: &LocationState) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocationState
Auto Trait Implementations§
impl Freeze for LocationState
impl RefUnwindSafe for LocationState
impl Send for LocationState
impl Sync for LocationState
impl Unpin for LocationState
impl UnwindSafe for LocationState
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