Struct snapshot_lib::RawSnapshot
source · pub struct RawSnapshot(pub(crate) Vec<VotingRegistration>);
Tuple Fields§
§0: Vec<VotingRegistration>
Trait Implementations§
source§impl Arbitrary for RawSnapshot
impl Arbitrary for RawSnapshot
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = BoxedStrategy<RawSnapshot>
type Strategy = BoxedStrategy<RawSnapshot>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
source§impl Clone for RawSnapshot
impl Clone for RawSnapshot
source§fn clone(&self) -> RawSnapshot
fn clone(&self) -> RawSnapshot
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 RawSnapshot
impl Debug for RawSnapshot
source§impl<'de> Deserialize<'de> for RawSnapshot
impl<'de> Deserialize<'de> for RawSnapshot
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 From<Vec<VotingRegistration, Global>> for RawSnapshot
impl From<Vec<VotingRegistration, Global>> for RawSnapshot
source§fn from(from: Vec<VotingRegistration>) -> Self
fn from(from: Vec<VotingRegistration>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RawSnapshot
impl Send for RawSnapshot
impl Sync for RawSnapshot
impl Unpin for RawSnapshot
impl UnwindSafe for RawSnapshot
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