pub struct ProofSignature {
pub signer: Address,
pub signature: Vec<u8>,
pub role: SignerRole,
}Expand description
A signature in a service proof
Fields§
§signer: AddressSigner address
signature: Vec<u8>Signature bytes
role: SignerRoleSigner role
Trait Implementations§
Source§impl Clone for ProofSignature
impl Clone for ProofSignature
Source§fn clone(&self) -> ProofSignature
fn clone(&self) -> ProofSignature
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 ProofSignature
impl Debug for ProofSignature
Source§impl<'de> Deserialize<'de> for ProofSignature
impl<'de> Deserialize<'de> for ProofSignature
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 ProofSignature
Source§impl PartialEq for ProofSignature
impl PartialEq for ProofSignature
Source§fn eq(&self, other: &ProofSignature) -> bool
fn eq(&self, other: &ProofSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProofSignature
impl Serialize for ProofSignature
impl StructuralPartialEq for ProofSignature
Auto Trait Implementations§
impl Freeze for ProofSignature
impl RefUnwindSafe for ProofSignature
impl Send for ProofSignature
impl Sync for ProofSignature
impl Unpin for ProofSignature
impl UnsafeUnpin for ProofSignature
impl UnwindSafe for ProofSignature
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