Struct chain_impl_mockchain::vote::TallyResult
source · pub struct TallyResult {
results: Box<[Weight]>,
options: Options,
}
Expand description
the tally results
Fields§
§results: Box<[Weight]>
§options: Options
Implementations§
Trait Implementations§
source§impl Clone for TallyResult
impl Clone for TallyResult
source§fn clone(&self) -> TallyResult
fn clone(&self) -> TallyResult
Returns a copy 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 TallyResult
impl Debug for TallyResult
source§impl PartialEq<TallyResult> for TallyResult
impl PartialEq<TallyResult> for TallyResult
source§fn eq(&self, other: &TallyResult) -> bool
fn eq(&self, other: &TallyResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TallyResult
impl StructuralEq for TallyResult
impl StructuralPartialEq for TallyResult
Auto Trait Implementations§
impl RefUnwindSafe for TallyResult
impl Send for TallyResult
impl Sync for TallyResult
impl Unpin for TallyResult
impl UnwindSafe for TallyResult
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