struct Run {
signature: String,
count: usize,
total: usize,
last_answers: Option<u64>,
}Expand description
One unbroken run of a single batch signature.
Fields§
§signature: StringThe signature every occurrence in this run shares.
count: usizeOccurrences since the answers last changed. This is what the threshold is compared against.
total: usizeOccurrences in this run, never reset by a changed answer. This is what the read-only allowance is compared against, for a batch that is not read-only.
last_answers: Option<u64>The answers recorded for the most recent occurrence. None means they
could not be joined — or have not been recorded yet, which is the same
thing to a verdict that has nothing to compare.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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