Skip to main content

NnsNeuronDistributionReport

Struct NnsNeuronDistributionReport 

Source
pub struct NnsNeuronDistributionReport {
Show 19 fields pub context: NnsGovernanceAnalyticsContext, pub collected_neuron_count: u64, pub earliest_retrieved_at_timestamp_seconds: Option<u64>, pub latest_retrieved_at_timestamp_seconds: Option<u64>, pub total_effective_stake_e8s: u64, pub reported_staked_maturity_neuron_count: u64, pub unreported_staked_maturity_neuron_count: u64, pub total_reported_staked_maturity_e8s_equivalent: u64, pub reported_deciding_voting_power_neuron_count: u64, pub unreported_deciding_voting_power_neuron_count: u64, pub total_reported_deciding_voting_power: u64, pub reported_potential_voting_power_neuron_count: u64, pub unreported_potential_voting_power_neuron_count: u64, pub total_reported_potential_voting_power: u64, pub known_neuron_metadata_count: u64, pub neurons_fund_join_timestamp_present_count: u64, pub state_distribution: Vec<NnsNeuronStateDistribution>, pub visibility_distribution: Vec<NnsNeuronVisibilityDistribution>, pub neuron_type_distribution: Vec<NnsNeuronTypeDistribution>,
}
Expand description

NnsNeuronDistributionReport

Deterministic local distribution over one complete public NNS neuron collection.

Fields§

§context: NnsGovernanceAnalyticsContext

Shared record, flattened in JSON.

§collected_neuron_count: u64

Number of admitted public neuron rows in the complete collection.

§earliest_retrieved_at_timestamp_seconds: Option<u64>

Earliest raw Governance retrieval timestamp among collected rows.

§latest_retrieved_at_timestamp_seconds: Option<u64>

Latest raw Governance retrieval timestamp among collected rows.

§total_effective_stake_e8s: u64

Sum of public effective stake across every collected neuron.

§reported_staked_maturity_neuron_count: u64

Rows carrying a public staked-maturity value.

§unreported_staked_maturity_neuron_count: u64

Rows without a public staked-maturity value.

§total_reported_staked_maturity_e8s_equivalent: u64

Sum of reported staked maturity values only.

§reported_deciding_voting_power_neuron_count: u64

Rows carrying current deciding voting power.

§unreported_deciding_voting_power_neuron_count: u64

Rows without current deciding voting power.

§total_reported_deciding_voting_power: u64

Sum of reported current deciding voting power values only.

§reported_potential_voting_power_neuron_count: u64

Rows carrying current potential voting power.

§unreported_potential_voting_power_neuron_count: u64

Rows without current potential voting power.

§total_reported_potential_voting_power: u64

Sum of reported current potential voting power values only.

§known_neuron_metadata_count: u64

Rows carrying registered known-neuron metadata.

§neurons_fund_join_timestamp_present_count: u64

Rows carrying a public Neurons’ Fund join timestamp.

§state_distribution: Vec<NnsNeuronStateDistribution>

Canonically raw-code-ordered distribution by neuron state.

§visibility_distribution: Vec<NnsNeuronVisibilityDistribution>

Canonically optional-raw-code-ordered distribution by visibility.

§neuron_type_distribution: Vec<NnsNeuronTypeDistribution>

Canonically optional-raw-code-ordered distribution by neuron type.

Trait Implementations§

Source§

impl Clone for NnsNeuronDistributionReport

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NnsNeuronDistributionReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for NnsNeuronDistributionReport

Source§

impl PartialEq for NnsNeuronDistributionReport

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for NnsNeuronDistributionReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NnsNeuronDistributionReport

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.