Struct jormungandr_lib::interfaces::vote::EncryptedTally
source · pub struct EncryptedTally(Vec<u8>);
Tuple Fields§
§0: Vec<u8>
Implementations§
source§impl EncryptedTally
impl EncryptedTally
pub fn into_bytes(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl AsRef<[u8]> for EncryptedTally
impl AsRef<[u8]> for EncryptedTally
source§impl Clone for EncryptedTally
impl Clone for EncryptedTally
source§fn clone(&self) -> EncryptedTally
fn clone(&self) -> EncryptedTally
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 EncryptedTally
impl Debug for EncryptedTally
source§impl<'de> Deserialize<'de> for EncryptedTally
impl<'de> Deserialize<'de> for EncryptedTally
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<EncryptedTally> for EncryptedTally
impl From<EncryptedTally> for EncryptedTally
source§fn from(encrypted_tally: EncryptedTally) -> EncryptedTally
fn from(encrypted_tally: EncryptedTally) -> EncryptedTally
Converts to this type from the input type.
source§impl PartialEq<EncryptedTally> for EncryptedTally
impl PartialEq<EncryptedTally> for EncryptedTally
source§fn eq(&self, other: &EncryptedTally) -> bool
fn eq(&self, other: &EncryptedTally) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EncryptedTally
impl Serialize for EncryptedTally
impl Eq for EncryptedTally
impl StructuralEq for EncryptedTally
impl StructuralPartialEq for EncryptedTally
Auto Trait Implementations§
impl RefUnwindSafe for EncryptedTally
impl Send for EncryptedTally
impl Sync for EncryptedTally
impl Unpin for EncryptedTally
impl UnwindSafe for EncryptedTally
Blanket Implementations§
§impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
impl<T> Base32Len for Twhere T: AsRef<[u8]>,
§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)