Struct chain_impl_mockchain::vote::EncryptedVote
source · pub struct EncryptedVote(EncryptedVote);
Tuple Fields§
§0: EncryptedVote
Implementations§
source§impl EncryptedVote
impl EncryptedVote
pub(crate) fn from_inner(vote: EncryptedVote) -> Self
pub(super) fn as_inner(&self) -> &EncryptedVote
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 EncryptedVote
impl Clone for EncryptedVote
source§fn clone(&self) -> EncryptedVote
fn clone(&self) -> EncryptedVote
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 EncryptedVote
impl Debug for EncryptedVote
source§impl Hash for EncryptedVote
impl Hash for EncryptedVote
source§impl PartialEq<EncryptedVote> for EncryptedVote
impl PartialEq<EncryptedVote> for EncryptedVote
source§fn eq(&self, other: &EncryptedVote) -> bool
fn eq(&self, other: &EncryptedVote) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncryptedVote
impl StructuralEq for EncryptedVote
impl StructuralPartialEq for EncryptedVote
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedVote
impl Send for EncryptedVote
impl Sync for EncryptedVote
impl Unpin for EncryptedVote
impl UnwindSafe for EncryptedVote
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