pub struct NnsProposalBallotRow {
pub neuron_id: u64,
pub vote: i32,
pub vote_text: NnsProposalVote,
pub voting_power: u64,
}Expand description
NnsProposalBallotRow
Serializable NNS proposal ballot row.
Fields§
§neuron_id: u64§vote: i32§vote_text: NnsProposalVote§voting_power: u64Trait Implementations§
Source§impl Clone for NnsProposalBallotRow
impl Clone for NnsProposalBallotRow
Source§fn clone(&self) -> NnsProposalBallotRow
fn clone(&self) -> NnsProposalBallotRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NnsProposalBallotRow
impl Debug for NnsProposalBallotRow
Source§impl<'de> Deserialize<'de> for NnsProposalBallotRow
impl<'de> Deserialize<'de> for NnsProposalBallotRow
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
impl Eq for NnsProposalBallotRow
Source§impl PartialEq for NnsProposalBallotRow
impl PartialEq for NnsProposalBallotRow
Source§impl Serialize for NnsProposalBallotRow
impl Serialize for NnsProposalBallotRow
impl StructuralPartialEq for NnsProposalBallotRow
Auto Trait Implementations§
impl Freeze for NnsProposalBallotRow
impl RefUnwindSafe for NnsProposalBallotRow
impl Send for NnsProposalBallotRow
impl Sync for NnsProposalBallotRow
impl Unpin for NnsProposalBallotRow
impl UnsafeUnpin for NnsProposalBallotRow
impl UnwindSafe for NnsProposalBallotRow
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