pub struct RootDkgOutput {
pub key_packages: BTreeMap<u16, RootKeyPackage>,
pub public_key_package: RootPublicKeyPackage,
}Expand description
Complete in-memory DKG result for tests and offline ceremony tooling.
Fields§
§key_packages: BTreeMap<u16, RootKeyPackage>Certifier key packages by FROST identifier.
public_key_package: RootPublicKeyPackagePublic key package common to all certifiers.
Trait Implementations§
Source§impl Clone for RootDkgOutput
impl Clone for RootDkgOutput
Source§fn clone(&self) -> RootDkgOutput
fn clone(&self) -> RootDkgOutput
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 RootDkgOutput
impl Debug for RootDkgOutput
Source§impl<'de> Deserialize<'de> for RootDkgOutput
impl<'de> Deserialize<'de> for RootDkgOutput
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
impl Eq for RootDkgOutput
Source§impl PartialEq for RootDkgOutput
impl PartialEq for RootDkgOutput
Source§fn eq(&self, other: &RootDkgOutput) -> bool
fn eq(&self, other: &RootDkgOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootDkgOutput
impl Serialize for RootDkgOutput
impl StructuralPartialEq for RootDkgOutput
Auto Trait Implementations§
impl Freeze for RootDkgOutput
impl RefUnwindSafe for RootDkgOutput
impl Send for RootDkgOutput
impl Sync for RootDkgOutput
impl Unpin for RootDkgOutput
impl UnsafeUnpin for RootDkgOutput
impl UnwindSafe for RootDkgOutput
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