Skip to main content

SnsRewardDiffRow

Struct SnsRewardDiffRow 

Source
pub struct SnsRewardDiffRow {
Show 17 fields pub neuron_id: String, pub before_combined_maturity_e8s_equivalent: Option<u64>, pub after_combined_maturity_e8s_equivalent: Option<u64>, pub maturity_delta_e8s_equivalent: i128, pub new_neuron: bool, pub missing_after: bool, pub before_created_timestamp_seconds: Option<u64>, pub after_created_timestamp_seconds: Option<u64>, pub before_maturity_mint_conversion_observed_disabled: Option<SnsPolicyObservationStatus>, pub after_maturity_mint_conversion_observed_disabled: Option<SnsPolicyObservationStatus>, pub before_manual_maturity_staking_observed_disabled: Option<SnsPolicyObservationStatus>, pub after_manual_maturity_staking_observed_disabled: Option<SnsPolicyObservationStatus>, pub before_pending_maturity_disbursement_count: Option<usize>, pub after_pending_maturity_disbursement_count: Option<usize>, pub policy_evidence_changed: bool, pub allocation_numerator_e8s_equivalent: Option<u64>, pub allocation_denominator_e8s_equivalent: Option<u64>,
}
Expand description

SnsRewardDiffRow

Joined raw maturity and policy evidence for one full SNS neuron identifier.

Fields§

§neuron_id: String

Exact 32-byte neuron identifier as lowercase hexadecimal text.

§before_combined_maturity_e8s_equivalent: Option<u64>

Earlier combined maturity, or no value for a supported new neuron.

§after_combined_maturity_e8s_equivalent: Option<u64>

Later combined maturity, or no value when the neuron disappeared.

§maturity_delta_e8s_equivalent: i128

Raw signed later-minus-earlier combined maturity delta.

§new_neuron: bool

Whether the neuron was first observed after the earlier checkpoint.

§missing_after: bool

Whether an earlier neuron was absent from the later checkpoint.

§before_created_timestamp_seconds: Option<u64>

Earlier creation timestamp when the neuron existed.

§after_created_timestamp_seconds: Option<u64>

Later creation timestamp when the neuron existed.

§before_maturity_mint_conversion_observed_disabled: Option<SnsPolicyObservationStatus>

Earlier neuron-local mint-conversion observation when present.

§after_maturity_mint_conversion_observed_disabled: Option<SnsPolicyObservationStatus>

Later neuron-local mint-conversion observation when present.

§before_manual_maturity_staking_observed_disabled: Option<SnsPolicyObservationStatus>

Earlier neuron-local manual-staking observation when present.

§after_manual_maturity_staking_observed_disabled: Option<SnsPolicyObservationStatus>

Later neuron-local manual-staking observation when present.

§before_pending_maturity_disbursement_count: Option<usize>

Earlier pending maturity-disbursement count.

§after_pending_maturity_disbursement_count: Option<usize>

Later pending maturity-disbursement count.

§policy_evidence_changed: bool

Whether raw permission, pending-disbursement, or auto-stake evidence changed.

§allocation_numerator_e8s_equivalent: Option<u64>

Allocation numerator, populated only for a valid positive distribution.

§allocation_denominator_e8s_equivalent: Option<u64>

Shared allocation denominator, populated only for a valid positive distribution.

Trait Implementations§

Source§

impl Clone for SnsRewardDiffRow

Source§

fn clone(&self) -> SnsRewardDiffRow

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 SnsRewardDiffRow

Source§

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

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

impl<'de> Deserialize<'de> for SnsRewardDiffRow

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 SnsRewardDiffRow

Source§

impl PartialEq for SnsRewardDiffRow

Source§

fn eq(&self, other: &SnsRewardDiffRow) -> 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 SnsRewardDiffRow

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 SnsRewardDiffRow

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.