Struct chain_impl_mockchain::vote::ProofOfCorrectVote
source · pub struct ProofOfCorrectVote(ProofOfCorrectVote);
Tuple Fields§
§0: ProofOfCorrectVote
Implementations§
source§impl ProofOfCorrectVote
impl ProofOfCorrectVote
pub(crate) fn from_inner(proof: ProofOfCorrectVote) -> Self
pub(super) fn as_inner(&self) -> &ProofOfCorrectVote
pub(crate) fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>
pub fn serialize(&self) -> ByteArray<Self>
pub(crate) fn read(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
Trait Implementations§
source§impl Clone for ProofOfCorrectVote
impl Clone for ProofOfCorrectVote
source§fn clone(&self) -> ProofOfCorrectVote
fn clone(&self) -> ProofOfCorrectVote
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 ProofOfCorrectVote
impl Debug for ProofOfCorrectVote
source§impl Hash for ProofOfCorrectVote
impl Hash for ProofOfCorrectVote
source§impl PartialEq<ProofOfCorrectVote> for ProofOfCorrectVote
impl PartialEq<ProofOfCorrectVote> for ProofOfCorrectVote
source§fn eq(&self, other: &ProofOfCorrectVote) -> bool
fn eq(&self, other: &ProofOfCorrectVote) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProofOfCorrectVote
impl StructuralEq for ProofOfCorrectVote
impl StructuralPartialEq for ProofOfCorrectVote
Auto Trait Implementations§
impl RefUnwindSafe for ProofOfCorrectVote
impl Send for ProofOfCorrectVote
impl Sync for ProofOfCorrectVote
impl Unpin for ProofOfCorrectVote
impl UnwindSafe for ProofOfCorrectVote
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