Skip to main content

NnsNeuronDistributionReport

Struct NnsNeuronDistributionReport 

Source
pub struct NnsNeuronDistributionReport {
Show 26 fields pub schema_version: u32, pub network: String, pub governance_canister_id: String, pub source: NnsGovernanceSourceProvenance, pub collection_started_at: String, pub collection_updated_at: String, pub collection_page_count: u32, pub collected_neuron_count: u64, pub point_in_time_guaranteed: bool, 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§

§schema_version: u32

Report schema version.

§network: String

Network identity retained by the complete collection.

§governance_canister_id: String

Fixed NNS Governance canister principal retained by the collection.

§source: NnsGovernanceSourceProvenance

Concrete transport and collector provenance retained by the collection.

§collection_started_at: String

Caller-supplied time attached to collection creation.

§collection_updated_at: String

Caller-supplied time attached to the final admitted page.

§collection_page_count: u32

Number of admitted source pages in the complete collection.

§collected_neuron_count: u64

Number of admitted public neuron rows in the complete collection.

§point_in_time_guaranteed: bool

Whether the sequential collection is guaranteed to represent one point in time.

§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) -> NnsNeuronDistributionReport

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<'de> Deserialize<'de> for NnsNeuronDistributionReport

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for NnsNeuronDistributionReport

Source§

impl PartialEq for NnsNeuronDistributionReport

Source§

fn eq(&self, other: &NnsNeuronDistributionReport) -> 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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.