pub struct NnsNeuronBallotRow {
pub proposal_id: Option<u64>,
pub vote: i32,
pub vote_text: String,
}Expand description
NnsNeuronBallotRow
One recent public ballot exposed by the Governance neuron index.
Fields§
§proposal_id: Option<u64>Proposal identifier when supplied by Governance.
vote: i32Raw Governance vote discriminant.
vote_text: StringStable display label for the raw vote.
Trait Implementations§
Source§impl Clone for NnsNeuronBallotRow
impl Clone for NnsNeuronBallotRow
Source§fn clone(&self) -> NnsNeuronBallotRow
fn clone(&self) -> NnsNeuronBallotRow
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 NnsNeuronBallotRow
impl Debug for NnsNeuronBallotRow
impl Eq for NnsNeuronBallotRow
Source§impl PartialEq for NnsNeuronBallotRow
impl PartialEq for NnsNeuronBallotRow
Source§impl Serialize for NnsNeuronBallotRow
impl Serialize for NnsNeuronBallotRow
impl StructuralPartialEq for NnsNeuronBallotRow
Auto Trait Implementations§
impl Freeze for NnsNeuronBallotRow
impl RefUnwindSafe for NnsNeuronBallotRow
impl Send for NnsNeuronBallotRow
impl Sync for NnsNeuronBallotRow
impl Unpin for NnsNeuronBallotRow
impl UnsafeUnpin for NnsNeuronBallotRow
impl UnwindSafe for NnsNeuronBallotRow
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