Struct vit_servicing_station_lib::v0::endpoints::snapshot::VotersInfo
source · pub struct VotersInfo {
pub voter_info: Vec<VoterInfo>,
pub last_updated: i64,
}
Expand description
Voter information in the current snapshot
Fields§
§voter_info: Vec<VoterInfo>
A listing of voter information in the current snapshot
last_updated: i64
Timestamp for the latest update in voter info in the current snapshot
Trait Implementations§
source§impl Clone for VotersInfo
impl Clone for VotersInfo
source§fn clone(&self) -> VotersInfo
fn clone(&self) -> VotersInfo
Returns a copy of the value. Read more
1.0.0 · 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 VotersInfo
impl Debug for VotersInfo
source§impl<'de> Deserialize<'de> for VotersInfo
impl<'de> Deserialize<'de> for VotersInfo
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
source§impl PartialEq<VotersInfo> for VotersInfo
impl PartialEq<VotersInfo> for VotersInfo
source§fn eq(&self, other: &VotersInfo) -> bool
fn eq(&self, other: &VotersInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VotersInfo
impl Serialize for VotersInfo
impl StructuralPartialEq for VotersInfo
Auto Trait Implementations§
impl RefUnwindSafe for VotersInfo
impl Send for VotersInfo
impl Sync for VotersInfo
impl Unpin for VotersInfo
impl UnwindSafe for VotersInfo
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