pub struct VotingRecord {
pub index: u32,
pub verdicts: Vec<VotingVerdict>,
pub voted_layers: u32,
pub thin_layers: u32,
}Expand description
One finalised frame of the voting ring (a consistency/<frame> row when it has verdicts).
Fields§
§index: u32§verdicts: Vec<VotingVerdict>§voted_layers: u32§thin_layers: u32Trait Implementations§
Source§impl Clone for VotingRecord
impl Clone for VotingRecord
Source§impl Debug for VotingRecord
impl Debug for VotingRecord
Source§impl PartialEq for VotingRecord
impl PartialEq for VotingRecord
impl StructuralPartialEq for VotingRecord
Auto Trait Implementations§
impl Freeze for VotingRecord
impl RefUnwindSafe for VotingRecord
impl Send for VotingRecord
impl Sync for VotingRecord
impl Unpin for VotingRecord
impl UnsafeUnpin for VotingRecord
impl UnwindSafe for VotingRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more