Struct aws_sdk_gamelift::types::LocationModel
source · #[non_exhaustive]pub struct LocationModel {
pub location_name: Option<String>,
pub location_arn: Option<String>,
}
Expand description
Properties of a custom location for use in an Amazon GameLift Anywhere fleet. This data type is returned in response to a call to https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateLocation.html.
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_name: Option<String>
The location's name.
location_arn: Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
Implementations§
source§impl LocationModel
impl LocationModel
sourcepub fn location_name(&self) -> Option<&str>
pub fn location_name(&self) -> Option<&str>
The location's name.
sourcepub fn location_arn(&self) -> Option<&str>
pub fn location_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
source§impl LocationModel
impl LocationModel
sourcepub fn builder() -> LocationModelBuilder
pub fn builder() -> LocationModelBuilder
Creates a new builder-style object to manufacture LocationModel
.
Trait Implementations§
source§impl Clone for LocationModel
impl Clone for LocationModel
source§fn clone(&self) -> LocationModel
fn clone(&self) -> LocationModel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocationModel
impl Debug for LocationModel
source§impl PartialEq for LocationModel
impl PartialEq for LocationModel
source§fn eq(&self, other: &LocationModel) -> bool
fn eq(&self, other: &LocationModel) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocationModel
Auto Trait Implementations§
impl Freeze for LocationModel
impl RefUnwindSafe for LocationModel
impl Send for LocationModel
impl Sync for LocationModel
impl Unpin for LocationModel
impl UnwindSafe for LocationModel
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