pub struct Record {
pub state: State,
pub kind: Option<Kind>,
pub progress: Option<u8>,
pub app: Option<String>,
pub title: Option<String>,
pub msg: Option<String>,
}Expand description
What one record holds: exactly the keys of the last report for its id.
Fields§
§state: StateThe state.
kind: Option<Kind>What a blocked program needs (only with blocked).
progress: Option<u8>0..=100 (only with working or blocked); None is indeterminate.
app: Option<String>The app the report carried. See Store::effective_app for the
inherited value.
title: Option<String>Decoded title.
msg: Option<String>Decoded msg.
Implementations§
Trait Implementations§
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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