pub struct RoomSlot {
pub player_id: String,
pub username: String,
pub ready: bool,
pub connected: bool,
pub is_bot: bool,
pub selected_deck_name: Option<String>,
pub selected_deck: Option<Deck>,
pub published_deck_id: Option<String>,
pub selected_commander_name: Option<String>,
pub avatar_url: Option<String>,
}Fields§
§player_id: String§username: String§ready: bool§connected: bool§is_bot: bool§selected_deck_name: Option<String>§selected_deck: Option<Deck>§published_deck_id: Option<String>§selected_commander_name: Option<String>§avatar_url: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RoomSlot
impl RefUnwindSafe for RoomSlot
impl Send for RoomSlot
impl Sync for RoomSlot
impl Unpin for RoomSlot
impl UnsafeUnpin for RoomSlot
impl UnwindSafe for RoomSlot
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