pub struct Inbox {
pub unread: BTreeMap<String, usize>,
pub recent: Vec<Message>,
pub day: usize,
pub here: String,
pub listen: BTreeMap<String, Status>,
}Expand description
The messages side of a collective’s screen.
Fields§
§unread: BTreeMap<String, usize>Per local drone’s session, the messages not shown to it yet.
recent: Vec<Message>The newest RECENT messages, newest first.
day: usizeThe messages sent in the last day.
here: StringThis node as messages name it (msg.rs node).
listen: BTreeMap<String, Status>Per local drone’s session that listens for wakes (listen.rs), whether its waiter runs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inbox
impl RefUnwindSafe for Inbox
impl Send for Inbox
impl Sync for Inbox
impl Unpin for Inbox
impl UnsafeUnpin for Inbox
impl UnwindSafe for Inbox
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