pub struct NnsNeuronTypeDistribution {
pub neuron_type: Option<i32>,
pub neuron_count: u64,
pub effective_stake_e8s: u64,
}Expand description
NnsNeuronTypeDistribution
Public neuron count and effective stake for one optional Governance neuron-type code.
Fields§
§neuron_type: Option<i32>Raw optional native Governance neuron-type code.
neuron_count: u64Number of collected neurons with this type code or absence.
effective_stake_e8s: u64Sum of public effective stake for neurons with this type code or absence.
Trait Implementations§
Source§impl Clone for NnsNeuronTypeDistribution
impl Clone for NnsNeuronTypeDistribution
Source§impl Debug for NnsNeuronTypeDistribution
impl Debug for NnsNeuronTypeDistribution
impl Eq for NnsNeuronTypeDistribution
impl StructuralPartialEq for NnsNeuronTypeDistribution
Auto Trait Implementations§
impl Forget for NnsNeuronTypeDistribution
impl Freeze for NnsNeuronTypeDistribution
impl RefUnwindSafe for NnsNeuronTypeDistribution
impl Send for NnsNeuronTypeDistribution
impl Sync for NnsNeuronTypeDistribution
impl Unpin for NnsNeuronTypeDistribution
impl UnsafeUnpin for NnsNeuronTypeDistribution
impl UnwindSafe for NnsNeuronTypeDistribution
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