Struct aws_sdk_gamelift::types::LocationAttributes
source · #[non_exhaustive]pub struct LocationAttributes {
pub location_state: Option<LocationState>,
pub stopped_actions: Option<Vec<FleetAction>>,
pub update_status: Option<LocationUpdateStatus>,
}
Expand description
Details about a location in a multi-location fleet.
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_state: Option<LocationState>
A fleet location and its current life-cycle state.
stopped_actions: Option<Vec<FleetAction>>
A list of fleet actions that have been suspended in the fleet location.
update_status: Option<LocationUpdateStatus>
The status of fleet activity updates to the location. The status PENDING_UPDATE
indicates that StopFleetActions
or StartFleetActions
has been requested but the update has not yet been completed for the location.
Implementations§
source§impl LocationAttributes
impl LocationAttributes
sourcepub fn location_state(&self) -> Option<&LocationState>
pub fn location_state(&self) -> Option<&LocationState>
A fleet location and its current life-cycle state.
sourcepub fn stopped_actions(&self) -> &[FleetAction]
pub fn stopped_actions(&self) -> &[FleetAction]
A list of fleet actions that have been suspended in the fleet location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stopped_actions.is_none()
.
sourcepub fn update_status(&self) -> Option<&LocationUpdateStatus>
pub fn update_status(&self) -> Option<&LocationUpdateStatus>
The status of fleet activity updates to the location. The status PENDING_UPDATE
indicates that StopFleetActions
or StartFleetActions
has been requested but the update has not yet been completed for the location.
source§impl LocationAttributes
impl LocationAttributes
sourcepub fn builder() -> LocationAttributesBuilder
pub fn builder() -> LocationAttributesBuilder
Creates a new builder-style object to manufacture LocationAttributes
.
Trait Implementations§
source§impl Clone for LocationAttributes
impl Clone for LocationAttributes
source§fn clone(&self) -> LocationAttributes
fn clone(&self) -> LocationAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocationAttributes
impl Debug for LocationAttributes
source§impl PartialEq for LocationAttributes
impl PartialEq for LocationAttributes
source§fn eq(&self, other: &LocationAttributes) -> bool
fn eq(&self, other: &LocationAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocationAttributes
Auto Trait Implementations§
impl Freeze for LocationAttributes
impl RefUnwindSafe for LocationAttributes
impl Send for LocationAttributes
impl Sync for LocationAttributes
impl Unpin for LocationAttributes
impl UnwindSafe for LocationAttributes
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