Struct vit_servicing_station_lib::v0::endpoints::snapshot::handlers::RawSnapshotInput
source · pub struct RawSnapshotInput {
pub snapshot: RawSnapshot,
pub update_timestamp: i64,
pub min_stake_threshold: Value,
pub voting_power_cap: Fraction,
pub direct_voters_group: Option<String>,
pub representatives_group: Option<String>,
pub dreps: Option<Dreps>,
}
Expand description
Raw Snapshot information update with timestamp.
Fields§
§snapshot: RawSnapshot
§update_timestamp: i64
§min_stake_threshold: Value
§voting_power_cap: Fraction
§direct_voters_group: Option<String>
§representatives_group: Option<String>
§dreps: Option<Dreps>
Trait Implementations§
source§impl Clone for RawSnapshotInput
impl Clone for RawSnapshotInput
source§fn clone(&self) -> RawSnapshotInput
fn clone(&self) -> RawSnapshotInput
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 RawSnapshotInput
impl Debug for RawSnapshotInput
source§impl<'de> Deserialize<'de> for RawSnapshotInput
impl<'de> Deserialize<'de> for RawSnapshotInput
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
Auto Trait Implementations§
impl RefUnwindSafe for RawSnapshotInput
impl Send for RawSnapshotInput
impl Sync for RawSnapshotInput
impl Unpin for RawSnapshotInput
impl UnwindSafe for RawSnapshotInput
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