pub struct SnsRewardCheckpointRow {
pub neuron_id: String,
pub created_timestamp_seconds: u64,
pub maturity_e8s_equivalent: u64,
pub staked_maturity_e8s_equivalent: Option<u64>,
pub auto_stake_maturity: Option<bool>,
pub permissions: Vec<SnsNeuronPermissionRow>,
pub disburse_maturity_in_progress: Vec<SnsMaturityDisbursementRow>,
}Expand description
SnsRewardCheckpointRow
Variable-size maturity and permission evidence for one observed SNS neuron.
Fields§
§neuron_id: StringExact 32-byte neuron identifier as lowercase hexadecimal text.
created_timestamp_seconds: u64Unix timestamp at which Governance reports the neuron was created.
maturity_e8s_equivalent: u64Raw unstaked maturity in e8s-equivalent units.
staked_maturity_e8s_equivalent: Option<u64>Raw staked maturity in e8s-equivalent units when present.
auto_stake_maturity: Option<bool>Native automatic maturity-staking state when supplied.
permissions: Vec<SnsNeuronPermissionRow>Every current principal permission entry returned by Governance.
disburse_maturity_in_progress: Vec<SnsMaturityDisbursementRow>Every pending maturity disbursement returned by Governance.
Implementations§
Source§impl SnsRewardCheckpointRow
impl SnsRewardCheckpointRow
Sourcepub fn checked_combined_maturity(&self) -> Option<u64>
pub fn checked_combined_maturity(&self) -> Option<u64>
Recompute combined maturity from the two raw maturity components.
Sourcepub fn derived_policy_observations(
&self,
) -> (SnsPolicyObservationStatus, SnsPolicyObservationStatus)
pub fn derived_policy_observations( &self, ) -> (SnsPolicyObservationStatus, SnsPolicyObservationStatus)
Recompute both row-local maturity policy observations from raw evidence.
Trait Implementations§
Source§impl Clone for SnsRewardCheckpointRow
impl Clone for SnsRewardCheckpointRow
Source§impl Debug for SnsRewardCheckpointRow
impl Debug for SnsRewardCheckpointRow
Source§impl<'de> Deserialize<'de> for SnsRewardCheckpointRow
impl<'de> Deserialize<'de> for SnsRewardCheckpointRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SnsRewardCheckpointRow
Source§impl PartialEq for SnsRewardCheckpointRow
impl PartialEq for SnsRewardCheckpointRow
Source§impl Serialize for SnsRewardCheckpointRow
impl Serialize for SnsRewardCheckpointRow
impl StructuralPartialEq for SnsRewardCheckpointRow
Auto Trait Implementations§
impl Freeze for SnsRewardCheckpointRow
impl RefUnwindSafe for SnsRewardCheckpointRow
impl Send for SnsRewardCheckpointRow
impl Sync for SnsRewardCheckpointRow
impl Unpin for SnsRewardCheckpointRow
impl UnsafeUnpin for SnsRewardCheckpointRow
impl UnwindSafe for SnsRewardCheckpointRow
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