pub struct SnsVotingPowerMetrics {
pub governance_total_potential_voting_power: Option<u64>,
pub timestamp_seconds: Option<u64>,
}Expand description
SnsVotingPowerMetrics
Timestamped cached SNS Governance voting-power metrics.
Fields§
§governance_total_potential_voting_power: Option<u64>Total potential Governance voting power, when returned.
timestamp_seconds: Option<u64>Unix timestamp when the voting-power metric was updated.
Trait Implementations§
Source§impl Clone for SnsVotingPowerMetrics
impl Clone for SnsVotingPowerMetrics
Source§fn clone(&self) -> SnsVotingPowerMetrics
fn clone(&self) -> SnsVotingPowerMetrics
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 SnsVotingPowerMetrics
impl Debug for SnsVotingPowerMetrics
impl Eq for SnsVotingPowerMetrics
Source§impl PartialEq for SnsVotingPowerMetrics
impl PartialEq for SnsVotingPowerMetrics
Source§impl Serialize for SnsVotingPowerMetrics
impl Serialize for SnsVotingPowerMetrics
impl StructuralPartialEq for SnsVotingPowerMetrics
Auto Trait Implementations§
impl Freeze for SnsVotingPowerMetrics
impl RefUnwindSafe for SnsVotingPowerMetrics
impl Send for SnsVotingPowerMetrics
impl Sync for SnsVotingPowerMetrics
impl Unpin for SnsVotingPowerMetrics
impl UnsafeUnpin for SnsVotingPowerMetrics
impl UnwindSafe for SnsVotingPowerMetrics
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