pub struct RoomSummary {
pub id: RoomId,
pub members: BTreeSet<ParticipantId>,
}Expand description
A directory-listable summary of a room: its id and current membership,
as raw fact – not yet filtered through any one caller’s point of view.
crate::MailboxEngine::directory is what turns “who is a member” into
“is the caller a member”.
Fields§
§id: RoomId§members: BTreeSet<ParticipantId>Trait Implementations§
Source§impl Clone for RoomSummary
impl Clone for RoomSummary
Source§impl Debug for RoomSummary
impl Debug for RoomSummary
impl Eq for RoomSummary
Source§impl PartialEq for RoomSummary
impl PartialEq for RoomSummary
impl StructuralPartialEq for RoomSummary
Auto Trait Implementations§
impl Freeze for RoomSummary
impl RefUnwindSafe for RoomSummary
impl Send for RoomSummary
impl Sync for RoomSummary
impl Unpin for RoomSummary
impl UnsafeUnpin for RoomSummary
impl UnwindSafe for RoomSummary
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