pub struct Report<'a> { /* private fields */ }Expand description
A validated report. Missing fields remove the prior record’s fields. Equality compares parsed fields, including the original base64 text. Compare decoded text when checking whether reports have the same meaning.
Implementations§
Source§impl<'a> Report<'a>
impl<'a> Report<'a>
Sourcepub const fn progress(&self) -> Option<Progress>
pub const fn progress(&self) -> Option<Progress>
Present only for working or blocked; absent means indeterminate.
Sourcepub const fn app(&self) -> Option<AppId<'a>>
pub const fn app(&self) -> Option<AppId<'a>>
Explicit application identifier, before ancestor inheritance.
Sourcepub const fn title(&self) -> Option<EncodedText<'a>>
pub const fn title(&self) -> Option<EncodedText<'a>>
Validated, lazily decoded label.
Sourcepub const fn message(&self) -> Option<EncodedText<'a>>
pub const fn message(&self) -> Option<EncodedText<'a>>
Validated, lazily decoded status message.
Trait Implementations§
impl<'a> Copy for Report<'a>
impl<'a> Eq for Report<'a>
impl<'a> StructuralPartialEq for Report<'a>
Auto Trait Implementations§
impl<'a> Freeze for Report<'a>
impl<'a> RefUnwindSafe for Report<'a>
impl<'a> Send for Report<'a>
impl<'a> Sync for Report<'a>
impl<'a> Unpin for Report<'a>
impl<'a> UnsafeUnpin for Report<'a>
impl<'a> UnwindSafe for Report<'a>
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