pub struct RoomMetadata {
pub online_users: Vec<UserInfo>,
pub host: Option<String>,
pub message_count: usize,
}Expand description
Frozen snapshot of room state for plugin consumption.
Fields§
§online_users: Vec<UserInfo>Users currently online with their status.
host: Option<String>Username of the room host.
message_count: usizeTotal messages in the chat file.
Auto Trait Implementations§
impl Freeze for RoomMetadata
impl RefUnwindSafe for RoomMetadata
impl Send for RoomMetadata
impl Sync for RoomMetadata
impl Unpin for RoomMetadata
impl UnsafeUnpin for RoomMetadata
impl UnwindSafe for RoomMetadata
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