pub struct QueueEntry {
pub player_id: PlayerId,
pub skill_rating: f32,
pub queue_time: Instant,
pub party_id: Option<u64>,
pub preferences: MatchPreferences,
}Expand description
Entry in the matchmaking queue.
Fields§
§player_id: PlayerId§skill_rating: f32§queue_time: Instant§party_id: Option<u64>Party ID (players with same party_id must be kept together).
preferences: MatchPreferencesTrait Implementations§
Source§impl Clone for QueueEntry
impl Clone for QueueEntry
Source§fn clone(&self) -> QueueEntry
fn clone(&self) -> QueueEntry
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 QueueEntry
impl RefUnwindSafe for QueueEntry
impl Send for QueueEntry
impl Sync for QueueEntry
impl Unpin for QueueEntry
impl UnsafeUnpin for QueueEntry
impl UnwindSafe for QueueEntry
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