pub struct SignatureV0 {
pub content: SignatureContent,
pub threshold_sig: ThresholdSignatureV0,
pub certificate_ref: ObjectRef,
}
Expand description
A Threshold Signature object (not a commit) containing all the information that the signers have prepared.
Fields§
§content: SignatureContent
the content that is signed
threshold_sig: ThresholdSignatureV0
The threshold signature itself. can come from 3 different sets
certificate_ref: ObjectRef
A reference to the Certificate that should be used to verify this signature.
Implementations§
Source§impl SignatureV0
impl SignatureV0
Trait Implementations§
Source§impl Clone for SignatureV0
impl Clone for SignatureV0
Source§fn clone(&self) -> SignatureV0
fn clone(&self) -> SignatureV0
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignatureV0
impl Debug for SignatureV0
Source§impl<'de> Deserialize<'de> for SignatureV0
impl<'de> Deserialize<'de> for SignatureV0
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
Source§impl PartialEq for SignatureV0
impl PartialEq for SignatureV0
Source§impl Serialize for SignatureV0
impl Serialize for SignatureV0
impl Eq for SignatureV0
impl StructuralPartialEq for SignatureV0
Auto Trait Implementations§
impl Freeze for SignatureV0
impl RefUnwindSafe for SignatureV0
impl Send for SignatureV0
impl Sync for SignatureV0
impl Unpin for SignatureV0
impl UnwindSafe for SignatureV0
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