pub struct Decision {
pub key: String,
pub publish: bool,
pub reason: Option<&'static str>,
pub flip: bool,
pub winner: String,
pub candidates: Vec<Decided>,
}Expand description
A key’s decision.
Fields§
§key: StringThe key.
publish: boolWhether it is published.
reason: Option<&'static str>Why it is withheld: withheld, unit_conflict, unit_lost or
publish_incomplete.
flip: boolWhether rule 3 decided it among candidates of different MD5s.
winner: StringThe row’s input.
candidates: Vec<Decided>Every candidate, by bytewise input.
Trait Implementations§
impl Eq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Forget for Decision
impl Freeze for Decision
impl Move for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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