pub struct MpcLeaf {
pub protocol_id: ProtocolId,
pub commitment: Hash,
}Expand description
A leaf in the MPC tree
Fields§
§protocol_id: ProtocolIdProtocol identifier
commitment: HashProtocol’s commitment hash
Implementations§
Trait Implementations§
impl Eq for MpcLeaf
impl StructuralPartialEq for MpcLeaf
Auto Trait Implementations§
impl Freeze for MpcLeaf
impl RefUnwindSafe for MpcLeaf
impl Send for MpcLeaf
impl Sync for MpcLeaf
impl Unpin for MpcLeaf
impl UnsafeUnpin for MpcLeaf
impl UnwindSafe for MpcLeaf
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