pub struct ShardView {
pub channels: BTreeMap<ChannelId, Channel>,
pub users: BTreeMap<SessionId, User>,
}Expand description
Everything one shard renders, each fact held once.
Fields§
§channels: BTreeMap<ChannelId, Channel>§users: BTreeMap<SessionId, User>Implementations§
Source§impl ShardView
impl ShardView
Trait Implementations§
impl Eq for ShardView
impl StructuralPartialEq for ShardView
Auto Trait Implementations§
impl Freeze for ShardView
impl RefUnwindSafe for ShardView
impl Send for ShardView
impl Sync for ShardView
impl Unpin for ShardView
impl UnwindSafe for ShardView
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