pub struct PlayerSession {
pub player_id: Option<PlayerId>,
pub player_session_id: Option<PlayerSessionId>,
pub game_session_id: Option<GameSessionId>,
pub fleet_id: Option<FleetId>,
pub ip_address: Option<String>,
pub player_data: Option<String>,
pub port: i32,
pub creation_time: i64,
pub termination_time: i64,
pub status: PlayerSessionStatus,
pub dns_name: Option<String>,
}Fields§
§player_id: Option<PlayerId>§player_session_id: Option<PlayerSessionId>§game_session_id: Option<GameSessionId>§fleet_id: Option<FleetId>§ip_address: Option<String>§player_data: Option<String>§port: i32§creation_time: i64§termination_time: i64§status: PlayerSessionStatus§dns_name: Option<String>Trait Implementations§
Source§impl Clone for PlayerSession
impl Clone for PlayerSession
Source§fn clone(&self) -> PlayerSession
fn clone(&self) -> PlayerSession
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 moreAuto Trait Implementations§
impl Freeze for PlayerSession
impl RefUnwindSafe for PlayerSession
impl Send for PlayerSession
impl Sync for PlayerSession
impl Unpin for PlayerSession
impl UnwindSafe for PlayerSession
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