pub struct RawSnapshot {
pub tag: String,
pub content: RawSnapshotInput,
}
Fields§
§tag: String
§content: RawSnapshotInput
Implementations§
Trait Implementations§
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 Default for RawSnapshot
impl Default for RawSnapshot
source§fn default() -> RawSnapshot
fn default() -> RawSnapshot
Returns the “default value” for a type. Read more
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<RawSnapshot> for RawSnapshotUpdater
impl From<RawSnapshot> for RawSnapshotUpdater
source§fn from(raw_snapshot: RawSnapshot) -> Self
fn from(raw_snapshot: RawSnapshot) -> Self
Converts to this type from the input type.
source§impl From<RawSnapshot> for RepsVotersAssigner
impl From<RawSnapshot> for RepsVotersAssigner
source§fn from(raw_snapshot: RawSnapshot) -> Self
fn from(raw_snapshot: RawSnapshot) -> Self
Converts to this type from the input type.
source§impl RawSnapshotExtension for RawSnapshot
impl RawSnapshotExtension for RawSnapshot
fn into_full_snapshot_infos( self, assigner: &RepsVotersAssigner ) -> Result<Vec<SnapshotInfo>, Error>
source§impl Serialize for RawSnapshot
impl Serialize for RawSnapshot
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