pub struct RootSignature {
pub signature: Vec<u8>,
pub signer_ids: Vec<u16>,
}Expand description
Serialized threshold signature over a root artifact.
Fields§
§signature: Vec<u8>Serialized FROST signature.
signer_ids: Vec<u16>Signer identifiers used for this signature.
Trait Implementations§
Source§impl Clone for RootSignature
impl Clone for RootSignature
Source§fn clone(&self) -> RootSignature
fn clone(&self) -> RootSignature
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 RootSignature
impl Debug for RootSignature
Source§impl<'de> Deserialize<'de> for RootSignature
impl<'de> Deserialize<'de> for RootSignature
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 RootSignature
Source§impl PartialEq for RootSignature
impl PartialEq for RootSignature
Source§fn eq(&self, other: &RootSignature) -> bool
fn eq(&self, other: &RootSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootSignature
impl Serialize for RootSignature
impl StructuralPartialEq for RootSignature
Auto Trait Implementations§
impl Freeze for RootSignature
impl RefUnwindSafe for RootSignature
impl Send for RootSignature
impl Sync for RootSignature
impl Unpin for RootSignature
impl UnsafeUnpin for RootSignature
impl UnwindSafe for RootSignature
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