pub struct Notes {
pub sidechain_events: u64,
pub lines_skipped: u64,
/* private fields */
}Expand description
The observations that become a report’s notes.
Notes exist so a number a user cannot reconcile against what their agent showed them is explained rather than merely printed.
Fields§
§sidechain_events: u64§lines_skipped: u64Implementations§
Source§impl Notes
impl Notes
Sourcepub fn push(&mut self, note: impl Into<String>)
pub fn push(&mut self, note: impl Into<String>)
Add a report-specific note, kept ahead of the shared ones.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notes
impl RefUnwindSafe for Notes
impl Send for Notes
impl Sync for Notes
impl Unpin for Notes
impl UnsafeUnpin for Notes
impl UnwindSafe for Notes
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