Struct chain_impl_mockchain::update::UpdateProposalState
source · pub struct UpdateProposalState {
pub proposal: UpdateProposal,
pub proposal_date: BlockDate,
pub votes: Hamt<DefaultHasher, UpdateVoterId, ()>,
}
Fields§
§proposal: UpdateProposal
§proposal_date: BlockDate
§votes: Hamt<DefaultHasher, UpdateVoterId, ()>
Trait Implementations§
source§impl Arbitrary for UpdateProposalState
impl Arbitrary for UpdateProposalState
source§impl Clone for UpdateProposalState
impl Clone for UpdateProposalState
source§fn clone(&self) -> UpdateProposalState
fn clone(&self) -> UpdateProposalState
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 UpdateProposalState
impl Debug for UpdateProposalState
source§impl PartialEq<UpdateProposalState> for UpdateProposalState
impl PartialEq<UpdateProposalState> for UpdateProposalState
source§fn eq(&self, other: &UpdateProposalState) -> bool
fn eq(&self, other: &UpdateProposalState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UpdateProposalState
impl StructuralEq for UpdateProposalState
impl StructuralPartialEq for UpdateProposalState
Auto Trait Implementations§
impl RefUnwindSafe for UpdateProposalState
impl Send for UpdateProposalState
impl Sync for UpdateProposalState
impl Unpin for UpdateProposalState
impl UnwindSafe for UpdateProposalState
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