pub struct PartialDecryption {
pub party_id: usize,
pub data: Vec<u8>,
pub proof: [u8; 64],
}Expand description
Partial decryption from one party
Fields§
§party_id: usizeParty ID
data: Vec<u8>Partial result
proof: [u8; 64]Proof of correct decryption
Trait Implementations§
Source§impl Clone for PartialDecryption
impl Clone for PartialDecryption
Source§fn clone(&self) -> PartialDecryption
fn clone(&self) -> PartialDecryption
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PartialDecryption
impl RefUnwindSafe for PartialDecryption
impl Send for PartialDecryption
impl Sync for PartialDecryption
impl Unpin for PartialDecryption
impl UnwindSafe for PartialDecryption
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