pub struct Room {
pub code: String,
pub created_at: Instant,
pub clients: HashMap<NodeId, ClientInfo>,
}Expand description
A room that clients can join.
Fields§
§code: String§created_at: Instant§clients: HashMap<NodeId, ClientInfo>Implementations§
Auto Trait Implementations§
impl Freeze for Room
impl RefUnwindSafe for Room
impl Send for Room
impl Sync for Room
impl Unpin for Room
impl UnwindSafe for Room
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