#[non_exhaustive]pub struct CreateGameSessionOutput {
pub game_session: Option<GameSession>,
/* private fields */
}
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.game_session: Option<GameSession>
Object that describes the newly created game session record.
Implementations§
source§impl CreateGameSessionOutput
impl CreateGameSessionOutput
sourcepub fn game_session(&self) -> Option<&GameSession>
pub fn game_session(&self) -> Option<&GameSession>
Object that describes the newly created game session record.
source§impl CreateGameSessionOutput
impl CreateGameSessionOutput
sourcepub fn builder() -> CreateGameSessionOutputBuilder
pub fn builder() -> CreateGameSessionOutputBuilder
Creates a new builder-style object to manufacture CreateGameSessionOutput
.
Trait Implementations§
source§impl Clone for CreateGameSessionOutput
impl Clone for CreateGameSessionOutput
source§fn clone(&self) -> CreateGameSessionOutput
fn clone(&self) -> CreateGameSessionOutput
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 CreateGameSessionOutput
impl Debug for CreateGameSessionOutput
source§impl PartialEq for CreateGameSessionOutput
impl PartialEq for CreateGameSessionOutput
source§fn eq(&self, other: &CreateGameSessionOutput) -> bool
fn eq(&self, other: &CreateGameSessionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateGameSessionOutput
impl RequestId for CreateGameSessionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateGameSessionOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateGameSessionOutput
impl Send for CreateGameSessionOutput
impl Sync for CreateGameSessionOutput
impl Unpin for CreateGameSessionOutput
impl UnwindSafe for CreateGameSessionOutput
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.