Struct jormungandr_lib::interfaces::vote::AccountVotes
source · pub struct AccountVotes {
pub vote_plan_id: VotePlanId,
pub votes: Vec<u8>,
}
Fields§
§vote_plan_id: VotePlanId
§votes: Vec<u8>
Trait Implementations§
source§impl Clone for AccountVotes
impl Clone for AccountVotes
source§fn clone(&self) -> AccountVotes
fn clone(&self) -> AccountVotes
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 AccountVotes
impl Debug for AccountVotes
source§impl<'de> Deserialize<'de> for AccountVotes
impl<'de> Deserialize<'de> for AccountVotes
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 PartialEq<AccountVotes> for AccountVotes
impl PartialEq<AccountVotes> for AccountVotes
source§fn eq(&self, other: &AccountVotes) -> bool
fn eq(&self, other: &AccountVotes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountVotes
impl Serialize for AccountVotes
impl Eq for AccountVotes
impl StructuralEq for AccountVotes
impl StructuralPartialEq for AccountVotes
Auto Trait Implementations§
impl RefUnwindSafe for AccountVotes
impl Send for AccountVotes
impl Sync for AccountVotes
impl Unpin for AccountVotes
impl UnwindSafe for AccountVotes
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