Struct snapshot_lib::KeyContribution 
source · pub struct KeyContribution {
    pub stake_public_key: StakeAddress,
    pub reward_address: RewardAddress,
    pub value: u64,
}Expand description
Contribution to a voting key for some registration
Fields§
§stake_public_key: StakeAddress§reward_address: RewardAddress§value: u64Implementations§
source§impl KeyContribution
 
impl KeyContribution
pub fn to_loadtest_snapshot(&self) -> Self
Trait Implementations§
source§impl Clone for KeyContribution
 
impl Clone for KeyContribution
source§fn clone(&self) -> KeyContribution
 
fn clone(&self) -> KeyContribution
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 KeyContribution
 
impl Debug for KeyContribution
source§impl<'de> Deserialize<'de> for KeyContribution
 
impl<'de> Deserialize<'de> for KeyContribution
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<KeyContribution> for KeyContribution
 
impl PartialEq<KeyContribution> for KeyContribution
source§fn eq(&self, other: &KeyContribution) -> bool
 
fn eq(&self, other: &KeyContribution) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for KeyContribution
 
impl Serialize for KeyContribution
impl Eq for KeyContribution
impl StructuralEq for KeyContribution
impl StructuralPartialEq for KeyContribution
Auto Trait Implementations§
impl RefUnwindSafe for KeyContribution
impl Send for KeyContribution
impl Sync for KeyContribution
impl Unpin for KeyContribution
impl UnwindSafe for KeyContribution
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