pub struct NnsNeuronRow {Show 21 fields
pub neuron_id: u64,
pub state: i32,
pub state_text: String,
pub visibility: Option<i32>,
pub visibility_text: String,
pub neuron_type: Option<i32>,
pub neuron_type_text: String,
pub stake_e8s: u64,
pub staked_maturity_e8s_equivalent: Option<u64>,
pub dissolve_delay_seconds: u64,
pub age_seconds: u64,
pub created_timestamp_seconds: u64,
pub retrieved_at_timestamp_seconds: u64,
pub voting_power: u64,
pub deciding_voting_power: Option<u64>,
pub potential_voting_power: Option<u64>,
pub voting_power_refreshed_timestamp_seconds: Option<u64>,
pub joined_community_fund_timestamp_seconds: Option<u64>,
pub eight_year_gang_bonus_base_e8s: Option<u64>,
pub known_neuron_data: Option<NnsKnownNeuronData>,
pub recent_ballots: Vec<NnsNeuronBallotRow>,
}Expand description
NnsNeuronRow
Public limited view of one NNS neuron returned by Governance.
Fields§
§neuron_id: u64Stable Governance neuron identifier.
state: i32Raw Governance state discriminant.
state_text: StringStable display label for the raw state.
visibility: Option<i32>Raw optional neuron visibility discriminant.
visibility_text: StringStable display label for the raw visibility.
neuron_type: Option<i32>Raw optional neuron-type discriminant.
neuron_type_text: StringStable display label for the raw neuron type.
stake_e8s: u64Public effective stake, including staked maturity, in e8s.
staked_maturity_e8s_equivalent: Option<u64>Staked maturity included in effective stake, in e8s when supplied.
dissolve_delay_seconds: u64Current dissolve delay in seconds.
age_seconds: u64Current neuron age in seconds.
created_timestamp_seconds: u64Neuron creation timestamp in Unix seconds.
retrieved_at_timestamp_seconds: u64Governance retrieval timestamp in Unix seconds.
voting_power: u64Deprecated Governance voting-power field retained losslessly.
deciding_voting_power: Option<u64>Current deciding voting power when supplied.
potential_voting_power: Option<u64>Current potential voting power when supplied.
voting_power_refreshed_timestamp_seconds: Option<u64>Last voting-power refresh timestamp in Unix seconds.
joined_community_fund_timestamp_seconds: Option<u64>Neurons’ Fund join timestamp in Unix seconds when publicly visible.
eight_year_gang_bonus_base_e8s: Option<u64>Eight-year dissolve-delay bonus base in e8s when supplied.
known_neuron_data: Option<NnsKnownNeuronData>Registered public known-neuron metadata when present.
recent_ballots: Vec<NnsNeuronBallotRow>Recent ballots visible to the unauthenticated caller.
Trait Implementations§
Source§impl Clone for NnsNeuronRow
impl Clone for NnsNeuronRow
Source§fn clone(&self) -> NnsNeuronRow
fn clone(&self) -> NnsNeuronRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more