pub struct NnsGovernanceRewardEvent {
pub rounds_since_last_distribution: Option<u64>,
pub day_after_genesis: u64,
pub actual_timestamp_seconds: u64,
pub total_available_e8s_equivalent: u64,
pub latest_round_available_e8s_equivalent: Option<u64>,
pub distributed_e8s_equivalent: u64,
pub settled_proposals: Vec<NnsGovernanceProposalId>,
}Expand description
NnsGovernanceRewardEvent
Latest native NNS Governance voting reward event.
Fields§
§rounds_since_last_distribution: Option<u64>Rounds elapsed since the previous distribution when supplied.
day_after_genesis: u64Reward day after NNS genesis.
actual_timestamp_seconds: u64Actual reward-event timestamp in Unix seconds.
total_available_e8s_equivalent: u64Total rewards available in e8s-equivalent.
latest_round_available_e8s_equivalent: Option<u64>Rewards available in the latest round when supplied.
distributed_e8s_equivalent: u64Rewards distributed in e8s-equivalent.
settled_proposals: Vec<NnsGovernanceProposalId>Proposals settled by the event, in Governance order.
Trait Implementations§
Source§impl Clone for NnsGovernanceRewardEvent
impl Clone for NnsGovernanceRewardEvent
Source§fn clone(&self) -> NnsGovernanceRewardEvent
fn clone(&self) -> NnsGovernanceRewardEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NnsGovernanceRewardEvent
impl Debug for NnsGovernanceRewardEvent
Source§impl<'de> Deserialize<'de> for NnsGovernanceRewardEvent
impl<'de> Deserialize<'de> for NnsGovernanceRewardEvent
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 NnsGovernanceRewardEvent
Source§impl PartialEq for NnsGovernanceRewardEvent
impl PartialEq for NnsGovernanceRewardEvent
Source§impl Serialize for NnsGovernanceRewardEvent
impl Serialize for NnsGovernanceRewardEvent
impl StructuralPartialEq for NnsGovernanceRewardEvent
Auto Trait Implementations§
impl Freeze for NnsGovernanceRewardEvent
impl RefUnwindSafe for NnsGovernanceRewardEvent
impl Send for NnsGovernanceRewardEvent
impl Sync for NnsGovernanceRewardEvent
impl Unpin for NnsGovernanceRewardEvent
impl UnsafeUnpin for NnsGovernanceRewardEvent
impl UnwindSafe for NnsGovernanceRewardEvent
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