pub enum CaseOutcome {
Proposal {
key: String,
action: String,
params: BTreeMap<String, OutValue>,
},
Abstention {
kind: String,
},
}Expand description
A comparable case’s outcome category.
Variants§
Proposal
Keyed by the action and the agreement’s named payloads.
Abstention
Escalations, missing evidence and every unresolved outcome are abstentions: counted in the acceptance denominator, never accepted.
Implementations§
Trait Implementations§
Source§impl Clone for CaseOutcome
impl Clone for CaseOutcome
Source§impl Debug for CaseOutcome
impl Debug for CaseOutcome
Source§impl PartialEq for CaseOutcome
impl PartialEq for CaseOutcome
impl StructuralPartialEq for CaseOutcome
Auto Trait Implementations§
impl Freeze for CaseOutcome
impl RefUnwindSafe for CaseOutcome
impl Send for CaseOutcome
impl Sync for CaseOutcome
impl Unpin for CaseOutcome
impl UnsafeUnpin for CaseOutcome
impl UnwindSafe for CaseOutcome
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