Struct chain_impl_mockchain::vote::manager::ValidatedVoteCast
source · struct ValidatedVoteCast {
payload: ValidatedPayload,
proposal_index: usize,
}
Fields§
§payload: ValidatedPayload
§proposal_index: usize
Trait Implementations§
source§impl Clone for ValidatedVoteCast
impl Clone for ValidatedVoteCast
source§fn clone(&self) -> ValidatedVoteCast
fn clone(&self) -> ValidatedVoteCast
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 ValidatedVoteCast
impl Debug for ValidatedVoteCast
source§impl PartialEq<ValidatedVoteCast> for ValidatedVoteCast
impl PartialEq<ValidatedVoteCast> for ValidatedVoteCast
source§fn eq(&self, other: &ValidatedVoteCast) -> bool
fn eq(&self, other: &ValidatedVoteCast) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ValidatedVoteCast
impl StructuralEq for ValidatedVoteCast
impl StructuralPartialEq for ValidatedVoteCast
Auto Trait Implementations§
impl RefUnwindSafe for ValidatedVoteCast
impl Send for ValidatedVoteCast
impl Sync for ValidatedVoteCast
impl Unpin for ValidatedVoteCast
impl UnwindSafe for ValidatedVoteCast
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