pub struct RootKeyPackage {
pub frost_identifier: u16,
pub key_package: Vec<u8>,
}Expand description
Serialized FROST key package held by one certifier.
Fields§
§frost_identifier: u16Owner’s FROST identifier.
key_package: Vec<u8>Serialized FROST key package.
Trait Implementations§
Source§impl Clone for RootKeyPackage
impl Clone for RootKeyPackage
Source§fn clone(&self) -> RootKeyPackage
fn clone(&self) -> RootKeyPackage
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 RootKeyPackage
impl Debug for RootKeyPackage
Source§impl<'de> Deserialize<'de> for RootKeyPackage
impl<'de> Deserialize<'de> for RootKeyPackage
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 RootKeyPackage
Source§impl PartialEq for RootKeyPackage
impl PartialEq for RootKeyPackage
Source§fn eq(&self, other: &RootKeyPackage) -> bool
fn eq(&self, other: &RootKeyPackage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootKeyPackage
impl Serialize for RootKeyPackage
impl StructuralPartialEq for RootKeyPackage
Auto Trait Implementations§
impl Freeze for RootKeyPackage
impl RefUnwindSafe for RootKeyPackage
impl Send for RootKeyPackage
impl Sync for RootKeyPackage
impl Unpin for RootKeyPackage
impl UnsafeUnpin for RootKeyPackage
impl UnwindSafe for RootKeyPackage
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