pub struct SnsRewardEvent {
pub rounds_since_last_distribution: Option<u64>,
pub actual_timestamp_seconds: u64,
pub end_timestamp_seconds: Option<u64>,
pub total_available_e8s_equivalent: Option<u64>,
pub distributed_e8s_equivalent: u64,
pub round: u64,
pub settled_proposals: Vec<SnsRewardProposalId>,
}Expand description
SnsRewardEvent
Complete native SNS Governance reward-event response.
Fields§
§rounds_since_last_distribution: Option<u64>Number of reward rounds represented by this event when supplied.
actual_timestamp_seconds: u64Native timestamp at which distribution actually ran.
end_timestamp_seconds: Option<u64>Canonical reward-event position when supplied.
total_available_e8s_equivalent: Option<u64>Total maturity available for distribution when supplied.
distributed_e8s_equivalent: u64Exact maturity amount distributed by this event.
round: u64Deprecated native reward round retained as continuity evidence.
settled_proposals: Vec<SnsRewardProposalId>Complete settled-proposal identifiers retained from Governance.
Trait Implementations§
Source§impl CandidType for SnsRewardEvent
impl CandidType for SnsRewardEvent
Source§impl Clone for SnsRewardEvent
impl Clone for SnsRewardEvent
Source§fn clone(&self) -> SnsRewardEvent
fn clone(&self) -> SnsRewardEvent
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 SnsRewardEvent
impl Debug for SnsRewardEvent
Source§impl<'de> Deserialize<'de> for SnsRewardEvent
impl<'de> Deserialize<'de> for SnsRewardEvent
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 SnsRewardEvent
Source§impl PartialEq for SnsRewardEvent
impl PartialEq for SnsRewardEvent
Source§impl Serialize for SnsRewardEvent
impl Serialize for SnsRewardEvent
impl StructuralPartialEq for SnsRewardEvent
Auto Trait Implementations§
impl Freeze for SnsRewardEvent
impl RefUnwindSafe for SnsRewardEvent
impl Send for SnsRewardEvent
impl Sync for SnsRewardEvent
impl Unpin for SnsRewardEvent
impl UnsafeUnpin for SnsRewardEvent
impl UnwindSafe for SnsRewardEvent
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