pub struct SnsProposalBallotRow {
pub neuron_id: String,
pub vote: i32,
pub vote_text: String,
pub cast_timestamp_seconds: u64,
pub cast_at: Option<String>,
pub voting_power: u64,
}Expand description
SnsProposalBallotRow
Serializable row for one proposal ballot.
Fields§
§neuron_id: String§vote: i32§vote_text: String§cast_timestamp_seconds: u64§cast_at: Option<String>§voting_power: u64Trait Implementations§
Source§impl Clone for SnsProposalBallotRow
impl Clone for SnsProposalBallotRow
Source§fn clone(&self) -> SnsProposalBallotRow
fn clone(&self) -> SnsProposalBallotRow
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 SnsProposalBallotRow
impl Debug for SnsProposalBallotRow
Source§impl<'de> Deserialize<'de> for SnsProposalBallotRow
impl<'de> Deserialize<'de> for SnsProposalBallotRow
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 SnsProposalBallotRow
Source§impl PartialEq for SnsProposalBallotRow
impl PartialEq for SnsProposalBallotRow
Source§impl Serialize for SnsProposalBallotRow
impl Serialize for SnsProposalBallotRow
impl StructuralPartialEq for SnsProposalBallotRow
Auto Trait Implementations§
impl Freeze for SnsProposalBallotRow
impl RefUnwindSafe for SnsProposalBallotRow
impl Send for SnsProposalBallotRow
impl Sync for SnsProposalBallotRow
impl Unpin for SnsProposalBallotRow
impl UnsafeUnpin for SnsProposalBallotRow
impl UnwindSafe for SnsProposalBallotRow
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