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 location
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LocationModel
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.