pub struct LobbyPlayer {
pub player_id: String,
pub display_name: String,
pub ready: bool,
pub latency_ms: u32,
pub team: u8,
pub metadata: HashMap<String, String>,
}Fields§
§player_id: String§display_name: String§ready: bool§latency_ms: u32§team: u8§metadata: HashMap<String, String>Implementations§
Trait Implementations§
Source§impl Clone for LobbyPlayer
impl Clone for LobbyPlayer
Source§fn clone(&self) -> LobbyPlayer
fn clone(&self) -> LobbyPlayer
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 LobbyPlayer
impl RefUnwindSafe for LobbyPlayer
impl Send for LobbyPlayer
impl Sync for LobbyPlayer
impl Unpin for LobbyPlayer
impl UnsafeUnpin for LobbyPlayer
impl UnwindSafe for LobbyPlayer
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