pub struct VoteStatistics {
pub round_id: RoundId,
pub total_votes: usize,
pub unique_values: usize,
pub participating_authorities: usize,
pub total_weight: u64,
pub leading_value_weight: Option<u64>,
pub elapsed_time: Duration,
pub timed_out: bool,
}Expand description
Vote statistics
Fields§
§round_id: RoundId§total_votes: usize§unique_values: usize§total_weight: u64§leading_value_weight: Option<u64>§elapsed_time: Duration§timed_out: boolTrait Implementations§
Source§impl Clone for VoteStatistics
impl Clone for VoteStatistics
Source§fn clone(&self) -> VoteStatistics
fn clone(&self) -> VoteStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VoteStatistics
impl Debug for VoteStatistics
Source§impl<'de> Deserialize<'de> for VoteStatistics
impl<'de> Deserialize<'de> for VoteStatistics
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
Auto Trait Implementations§
impl Freeze for VoteStatistics
impl RefUnwindSafe for VoteStatistics
impl Send for VoteStatistics
impl Sync for VoteStatistics
impl Unpin for VoteStatistics
impl UnwindSafe for VoteStatistics
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