pub struct Listed {
pub id: String,
pub label: String,
pub payload: String,
pub live: bool,
pub needs_a_person: bool,
pub write_backs: Option<u64>,
}Expand description
One session, as the standing list shows it.
Fields§
§id: StringWhat sessions prints and close takes.
label: StringThe payload and what has become of it, without the id in front. The command line puts the id back; a menu has no room for one.
payload: StringThe payload’s name alone, for a menu item that is an action rather than a line of a report: Close report.pdf says what pressing it does, where the whole label repeats what the tooltip already counted.
live: boolLive: open, or closed and waiting for the application to finish. What the standing list is reassuring somebody about.
needs_a_person: boolA decision only a person can make — a session left behind with an edit in it. Concept 6.3’s three choices are what it needs.
write_backs: Option<u64>Saves written back so far, where the session is one that counts them.
The one number that changes while somebody works, which is the whole reason a standing list is worth more than a notification: a toast says what happened once, and this says what is true now.
Trait Implementations§
impl Eq for Listed
impl StructuralPartialEq for Listed
Auto Trait Implementations§
impl Freeze for Listed
impl RefUnwindSafe for Listed
impl Send for Listed
impl Sync for Listed
impl Unpin for Listed
impl UnsafeUnpin for Listed
impl UnwindSafe for Listed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.