pub struct RefreshContribution {
pub from_party: u32,
pub to_party: u32,
pub bytes: Vec<u8>,
}Expand description
A refresh contribution from party i to party j.
Fields§
§from_party: u32Source party index.
to_party: u32Destination party index.
bytes: Vec<u8>Refresh bytes (the value f_i(j) where f_i is party i’s random polynomial).
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