Struct sn_data_types::RewardProposal [−][src]
pub struct RewardProposal { pub section_key: PublicKey, pub rewards: Vec<SignedCreditShare>, }
Expand description
Proposed credits resulting from a churn.
Fields
section_key: PublicKey
The section paying out the rewards.
rewards: Vec<SignedCreditShare>
Any proposed rewards
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RewardProposal
impl Send for RewardProposal
impl Sync for RewardProposal
impl Unpin for RewardProposal
impl UnwindSafe for RewardProposal
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V