Struct aws_sdk_gamelift::model::GameProperty
source · [−]Expand description
Set of key-value pairs that contain information about a game session. When included in a game session request, these properties communicate details to be used when setting up the new game session. For example, a game property might specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session. For more information, see the GameLift Developer Guide.
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.key: Option<String>
The game property identifier.
value: Option<String>
The game property value.
Implementations
sourceimpl GameProperty
impl GameProperty
sourceimpl GameProperty
impl GameProperty
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GameProperty
Trait Implementations
sourceimpl Clone for GameProperty
impl Clone for GameProperty
sourcefn clone(&self) -> GameProperty
fn clone(&self) -> GameProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GameProperty
impl Debug for GameProperty
sourceimpl PartialEq<GameProperty> for GameProperty
impl PartialEq<GameProperty> for GameProperty
sourcefn eq(&self, other: &GameProperty) -> bool
fn eq(&self, other: &GameProperty) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GameProperty) -> bool
fn ne(&self, other: &GameProperty) -> bool
This method tests for !=
.
impl StructuralPartialEq for GameProperty
Auto Trait Implementations
impl RefUnwindSafe for GameProperty
impl Send for GameProperty
impl Sync for GameProperty
impl Unpin for GameProperty
impl UnwindSafe for GameProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more