pub struct LedgerEntry {
pub id: usize,
pub name: String,
pub p: f64,
pub c: Duration,
pub score: f64,
pub rank: usize,
}Expand description
A single entry in the evidence ledger recording an ordering decision.
Fields§
§id: usizeValidator id.
name: StringValidator name.
p: f64Failure probability at decision time.
c: DurationCost estimate at decision time.
score: f64Score = p / c.
rank: usizeAssigned rank (0 = first to run).
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§fn clone(&self) -> LedgerEntry
fn clone(&self) -> LedgerEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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