pub struct PartialDecryption {
pub party_index: u32,
pub bytes: Vec<u8>,
}Expand description
Partial decryption from one party: share * R as SEC1 bytes.
Fields§
§party_index: u32Contributing party index.
bytes: Vec<u8>SEC1-encoded point.
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 (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 PartialDecryption
impl Debug for PartialDecryption
Source§impl<'de> Deserialize<'de> for PartialDecryption
impl<'de> Deserialize<'de> for PartialDecryption
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 PartialDecryption
impl RefUnwindSafe for PartialDecryption
impl Send for PartialDecryption
impl Sync for PartialDecryption
impl Unpin for PartialDecryption
impl UnsafeUnpin 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