pub struct SnsProposalTally {
pub timestamp_seconds: u64,
pub yes: u64,
pub no: u64,
pub total: u64,
}Expand description
SnsProposalTally
Serializable SNS proposal vote tally.
Fields§
§timestamp_seconds: u64§yes: u64§no: u64§total: u64Trait Implementations§
Source§impl Clone for SnsProposalTally
impl Clone for SnsProposalTally
Source§fn clone(&self) -> SnsProposalTally
fn clone(&self) -> SnsProposalTally
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 SnsProposalTally
impl Debug for SnsProposalTally
Source§impl<'de> Deserialize<'de> for SnsProposalTally
impl<'de> Deserialize<'de> for SnsProposalTally
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 SnsProposalTally
Source§impl PartialEq for SnsProposalTally
impl PartialEq for SnsProposalTally
Source§impl Serialize for SnsProposalTally
impl Serialize for SnsProposalTally
impl StructuralPartialEq for SnsProposalTally
Auto Trait Implementations§
impl Freeze for SnsProposalTally
impl RefUnwindSafe for SnsProposalTally
impl Send for SnsProposalTally
impl Sync for SnsProposalTally
impl Unpin for SnsProposalTally
impl UnsafeUnpin for SnsProposalTally
impl UnwindSafe for SnsProposalTally
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