pub struct GameSession {
pub game_session_id: Option<GameSessionId>,
pub name: Option<String>,
pub fleet_id: Option<String>,
pub max_players: i32,
pub port: i32,
pub ip_address: Option<String>,
pub game_session_data: Option<String>,
pub matchmaker_data: Option<String>,
pub game_properties: Option<Vec<GameProperty>>,
pub dns_name: Option<String>,
}Fields§
§game_session_id: Option<GameSessionId>§name: Option<String>§fleet_id: Option<String>§max_players: i32§port: i32§ip_address: Option<String>§game_session_data: Option<String>§matchmaker_data: Option<String>§game_properties: Option<Vec<GameProperty>>§dns_name: Option<String>Trait Implementations§
Source§impl Clone for GameSession
impl Clone for GameSession
Source§fn clone(&self) -> GameSession
fn clone(&self) -> GameSession
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 GameSession
impl Debug for GameSession
Source§impl Default for GameSession
impl Default for GameSession
Source§fn default() -> GameSession
fn default() -> GameSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GameSession
impl<'de> Deserialize<'de> for GameSession
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GameSession
impl RefUnwindSafe for GameSession
impl Send for GameSession
impl Sync for GameSession
impl Unpin for GameSession
impl UnwindSafe for GameSession
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