pub struct QuorumTally {
pub output: Value,
pub votes: u32,
}Expand description
One vote group in a majority tally: an output and how many accepted members produced it byte-identically (R0.7 wave 3).
Fields§
§output: ValueThe output the group agrees on.
votes: u32How many of the accepted members produced it.
Trait Implementations§
Source§impl Clone for QuorumTally
impl Clone for QuorumTally
Source§impl Debug for QuorumTally
impl Debug for QuorumTally
Source§impl<'de> Deserialize<'de> for QuorumTally
impl<'de> Deserialize<'de> for QuorumTally
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QuorumTally
impl PartialEq for QuorumTally
Source§impl Serialize for QuorumTally
impl Serialize for QuorumTally
impl StructuralPartialEq for QuorumTally
Auto Trait Implementations§
impl Freeze for QuorumTally
impl RefUnwindSafe for QuorumTally
impl Send for QuorumTally
impl Sync for QuorumTally
impl Unpin for QuorumTally
impl UnsafeUnpin for QuorumTally
impl UnwindSafe for QuorumTally
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