Struct aws_sdk_gamelift::operation::create_fleet::CreateFleetOutput
source · #[non_exhaustive]pub struct CreateFleetOutput {
pub fleet_attributes: Option<FleetAttributes>,
pub location_states: Option<Vec<LocationState>>,
/* private fields */
}
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_attributes: Option<FleetAttributes>
The properties for the new fleet, including the current status. All fleets are placed in NEW
status on creation.
location_states: Option<Vec<LocationState>>
The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW
. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.
Implementations§
source§impl CreateFleetOutput
impl CreateFleetOutput
sourcepub fn fleet_attributes(&self) -> Option<&FleetAttributes>
pub fn fleet_attributes(&self) -> Option<&FleetAttributes>
The properties for the new fleet, including the current status. All fleets are placed in NEW
status on creation.
sourcepub fn location_states(&self) -> &[LocationState]
pub fn location_states(&self) -> &[LocationState]
The fleet's locations and life-cycle status of each location. For new fleets, the status of all locations is set to NEW
. During fleet creation, Amazon GameLift updates each location status as instances are deployed there and prepared for game hosting. This list includes an entry for the fleet's home Region. For fleets with no remote locations, only one entry, representing the home Region, is returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .location_states.is_none()
.
source§impl CreateFleetOutput
impl CreateFleetOutput
sourcepub fn builder() -> CreateFleetOutputBuilder
pub fn builder() -> CreateFleetOutputBuilder
Creates a new builder-style object to manufacture CreateFleetOutput
.
Trait Implementations§
source§impl Clone for CreateFleetOutput
impl Clone for CreateFleetOutput
source§fn clone(&self) -> CreateFleetOutput
fn clone(&self) -> CreateFleetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFleetOutput
impl Debug for CreateFleetOutput
source§impl PartialEq for CreateFleetOutput
impl PartialEq for CreateFleetOutput
source§fn eq(&self, other: &CreateFleetOutput) -> bool
fn eq(&self, other: &CreateFleetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateFleetOutput
impl RequestId for CreateFleetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateFleetOutput
Auto Trait Implementations§
impl Freeze for CreateFleetOutput
impl RefUnwindSafe for CreateFleetOutput
impl Send for CreateFleetOutput
impl Sync for CreateFleetOutput
impl Unpin for CreateFleetOutput
impl UnwindSafe for CreateFleetOutput
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