pub struct EliminationStats {
pub name: String,
pub transfers: Vec<(String, u64)>,
pub exhausted: u64,
}Expand description
Statistics for the elimination of the candidates.
Fields§
§name: StringThe name of the candidate being eliminated. It could also be ‘Undeclared write-ins’ to account for all the choices that do not correspond to declared candidates.
transfers: Vec<(String, u64)>Transfers of the votes to other candidates. Includes the names of the candidates and the count of votes associated to this transfer.
exhausted: u64The number of votes that were associated to this candidate and that do not have a transfer.
Trait Implementations§
Source§impl Clone for EliminationStats
impl Clone for EliminationStats
Source§fn clone(&self) -> EliminationStats
fn clone(&self) -> EliminationStats
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 EliminationStats
impl Debug for EliminationStats
Source§impl PartialEq for EliminationStats
impl PartialEq for EliminationStats
impl Eq for EliminationStats
impl StructuralPartialEq for EliminationStats
Auto Trait Implementations§
impl Freeze for EliminationStats
impl RefUnwindSafe for EliminationStats
impl Send for EliminationStats
impl Sync for EliminationStats
impl Unpin for EliminationStats
impl UnwindSafe for EliminationStats
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