pub struct LobbyQuery {
pub filters: Vec<(String, String)>,
pub has_free_slot: bool,
pub limit: u8,
}Expand description
What P2p::search looks for among the open Visibility::Public
lobbies of this game.
Fields§
§filters: Vec<(String, String)>Metadata a lobby must carry, every pair matched exactly.
has_free_slot: boolLeave full lobbies out. On by default.
limit: u8How many lobbies to return, 1 to MAX_LOBBY_SEARCH_RESULTS. 20 by
default.
Trait Implementations§
Source§impl Clone for LobbyQuery
impl Clone for LobbyQuery
Source§impl Debug for LobbyQuery
impl Debug for LobbyQuery
Source§impl Default for LobbyQuery
impl Default for LobbyQuery
impl Eq for LobbyQuery
Source§impl PartialEq for LobbyQuery
impl PartialEq for LobbyQuery
impl StructuralPartialEq for LobbyQuery
Auto Trait Implementations§
impl Freeze for LobbyQuery
impl RefUnwindSafe for LobbyQuery
impl Send for LobbyQuery
impl Sync for LobbyQuery
impl Unpin for LobbyQuery
impl UnsafeUnpin for LobbyQuery
impl UnwindSafe for LobbyQuery
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