pub struct StmSigRegParty {
pub sig: SingleSignature,
pub reg_party: MerkleTreeLeaf,
}
Expand description
Signature with its registered party.
Fields§
§sig: SingleSignature
Stm signature
reg_party: MerkleTreeLeaf
Registered party
Implementations§
Source§impl SingleSignatureWithRegisteredParty
impl SingleSignatureWithRegisteredParty
Sourcepub fn from_bytes<D: Digest + Clone + FixedOutput>(
bytes: &[u8],
) -> Result<SingleSignatureWithRegisteredParty, StmSignatureError>
pub fn from_bytes<D: Digest + Clone + FixedOutput>( bytes: &[u8], ) -> Result<SingleSignatureWithRegisteredParty, StmSignatureError>
Extract a SingleSignatureWithRegisteredParty
from a byte slice.
Trait Implementations§
Source§impl Clone for SingleSignatureWithRegisteredParty
impl Clone for SingleSignatureWithRegisteredParty
Source§fn clone(&self) -> SingleSignatureWithRegisteredParty
fn clone(&self) -> SingleSignatureWithRegisteredParty
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for SingleSignatureWithRegisteredParty
impl<'de> Deserialize<'de> for SingleSignatureWithRegisteredParty
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 Ord for SingleSignatureWithRegisteredParty
impl Ord for SingleSignatureWithRegisteredParty
Source§fn cmp(&self, other: &SingleSignatureWithRegisteredParty) -> Ordering
fn cmp(&self, other: &SingleSignatureWithRegisteredParty) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SingleSignatureWithRegisteredParty
impl PartialEq for SingleSignatureWithRegisteredParty
Source§fn eq(&self, other: &SingleSignatureWithRegisteredParty) -> bool
fn eq(&self, other: &SingleSignatureWithRegisteredParty) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for SingleSignatureWithRegisteredParty
impl PartialOrd for SingleSignatureWithRegisteredParty
impl Eq for SingleSignatureWithRegisteredParty
impl StructuralPartialEq for SingleSignatureWithRegisteredParty
Auto Trait Implementations§
impl Freeze for SingleSignatureWithRegisteredParty
impl RefUnwindSafe for SingleSignatureWithRegisteredParty
impl Send for SingleSignatureWithRegisteredParty
impl Sync for SingleSignatureWithRegisteredParty
impl Unpin for SingleSignatureWithRegisteredParty
impl UnwindSafe for SingleSignatureWithRegisteredParty
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