pub struct NnsProposalRow {Show 28 fields
pub proposal_id: Option<u64>,
pub proposer_neuron_id: Option<u64>,
pub topic: i32,
pub topic_text: String,
pub status: i32,
pub status_text: String,
pub reward_status: i32,
pub reward_status_text: String,
pub title: Option<String>,
pub summary: String,
pub url: String,
pub action_text: Option<String>,
pub reject_cost_e8s: u64,
pub proposal_timestamp_seconds: u64,
pub proposed_at: String,
pub deadline_timestamp_seconds: Option<u64>,
pub deadline_at: Option<String>,
pub decided_timestamp_seconds: u64,
pub decided_at: Option<String>,
pub executed_timestamp_seconds: u64,
pub executed_at: Option<String>,
pub failed_timestamp_seconds: u64,
pub failed_at: Option<String>,
pub reward_event_round: u64,
pub total_potential_voting_power: Option<u64>,
pub latest_tally: Option<NnsProposalTally>,
pub ballot_count: usize,
pub ballots: Vec<NnsProposalBallotRow>,
}Expand description
NnsProposalRow
Serializable row for one NNS governance proposal.
Fields§
§proposal_id: Option<u64>§proposer_neuron_id: Option<u64>§topic: i32§topic_text: String§status: i32§status_text: String§reward_status: i32§reward_status_text: String§title: Option<String>§summary: String§url: String§action_text: Option<String>§reject_cost_e8s: u64§proposal_timestamp_seconds: u64§proposed_at: String§deadline_timestamp_seconds: Option<u64>§deadline_at: Option<String>§decided_timestamp_seconds: u64§decided_at: Option<String>§executed_timestamp_seconds: u64§executed_at: Option<String>§failed_timestamp_seconds: u64§failed_at: Option<String>§reward_event_round: u64§total_potential_voting_power: Option<u64>§latest_tally: Option<NnsProposalTally>§ballot_count: usize§ballots: Vec<NnsProposalBallotRow>Trait Implementations§
Source§impl Clone for NnsProposalRow
impl Clone for NnsProposalRow
Source§fn clone(&self) -> NnsProposalRow
fn clone(&self) -> NnsProposalRow
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 NnsProposalRow
impl Debug for NnsProposalRow
Source§impl<'de> Deserialize<'de> for NnsProposalRow
impl<'de> Deserialize<'de> for NnsProposalRow
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 NnsProposalRow
Source§impl PartialEq for NnsProposalRow
impl PartialEq for NnsProposalRow
Source§impl Serialize for NnsProposalRow
impl Serialize for NnsProposalRow
impl StructuralPartialEq for NnsProposalRow
Auto Trait Implementations§
impl Freeze for NnsProposalRow
impl RefUnwindSafe for NnsProposalRow
impl Send for NnsProposalRow
impl Sync for NnsProposalRow
impl Unpin for NnsProposalRow
impl UnsafeUnpin for NnsProposalRow
impl UnwindSafe for NnsProposalRow
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