pub struct CreatePlayerSessionInput {
pub game_session_id: String,
pub player_data: Option<String>,
pub player_id: String,
}Expand description
Represents the input for a request action.
Fields§
§game_session_id: StringA unique identifier for the game session to add a player to.
player_data: Option<String>Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
player_id: StringA unique identifier for a player. Player IDs are developer-defined.
Trait Implementations§
Source§impl Clone for CreatePlayerSessionInput
impl Clone for CreatePlayerSessionInput
Source§fn clone(&self) -> CreatePlayerSessionInput
fn clone(&self) -> CreatePlayerSessionInput
Returns a duplicate 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 CreatePlayerSessionInput
impl Debug for CreatePlayerSessionInput
Source§impl Default for CreatePlayerSessionInput
impl Default for CreatePlayerSessionInput
Source§fn default() -> CreatePlayerSessionInput
fn default() -> CreatePlayerSessionInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreatePlayerSessionInput
impl PartialEq for CreatePlayerSessionInput
Source§impl Serialize for CreatePlayerSessionInput
impl Serialize for CreatePlayerSessionInput
impl StructuralPartialEq for CreatePlayerSessionInput
Auto Trait Implementations§
impl Freeze for CreatePlayerSessionInput
impl RefUnwindSafe for CreatePlayerSessionInput
impl Send for CreatePlayerSessionInput
impl Sync for CreatePlayerSessionInput
impl Unpin for CreatePlayerSessionInput
impl UnwindSafe for CreatePlayerSessionInput
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