pub struct RefreshContribution {
pub from_party: u32,
pub refresh_shares: HashMap<u32, Vec<u8>>,
}Expand description
A refresh contribution from one party.
Fields§
§from_party: u32Party generating this contribution.
Shares for each recipient party.
Trait Implementations§
Source§impl Clone for RefreshContribution
impl Clone for RefreshContribution
Source§fn clone(&self) -> RefreshContribution
fn clone(&self) -> RefreshContribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RefreshContribution
impl Debug for RefreshContribution
Source§impl<'de> Deserialize<'de> for RefreshContribution
impl<'de> Deserialize<'de> for RefreshContribution
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 Freeze for RefreshContribution
impl RefUnwindSafe for RefreshContribution
impl Send for RefreshContribution
impl Sync for RefreshContribution
impl Unpin for RefreshContribution
impl UnsafeUnpin for RefreshContribution
impl UnwindSafe for RefreshContribution
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