pub struct Decision {
pub window: Option<(u32, u32)>,
pub set: PolicySet,
pub assessed: Vec<Assessment>,
pub confirmed: bool,
}Expand description
The decision for a ledger hash: the time window, the policies and the outcome for each.
Fields§
§window: Option<(u32, u32)>The vote time window: from the earliest to the latest signing time of full
validations for this hash from known validators. None if there are none.
set: PolicySet§assessed: Vec<Assessment>§confirmed: boolThe hash reached quorum under every policy of the window, and the policy is complete.
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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