pub struct SignedMessageOutput<'a> { /* private fields */ }
Expand description
The output of a signed message
Implementations§
Source§impl SignedMessageOutput<'_>
impl SignedMessageOutput<'_>
Sourcepub fn public_key(&self) -> WalletResult<VerifyingKey>
pub fn public_key(&self) -> WalletResult<VerifyingKey>
Get the public key as an Ed25519 Public Key
Sourcepub fn address(&self) -> WalletResult<String>
pub fn address(&self) -> WalletResult<String>
Get the Base58 address of the Ed25519 Public Key that signed the message
Sourcepub fn signature(&self) -> Signature
pub fn signature(&self) -> Signature
Get the Ed25519 Signature that was generated when the Ed25519 Public Key signed the UTF-8 encoded message
Sourcepub fn base58_signature(&self) -> WalletResult<String>
pub fn base58_signature(&self) -> WalletResult<String>
Get the Ed25519 Signature encoded in Base58 format
Trait Implementations§
Source§impl<'a> Clone for SignedMessageOutput<'a>
impl<'a> Clone for SignedMessageOutput<'a>
Source§fn clone(&self) -> SignedMessageOutput<'a>
fn clone(&self) -> SignedMessageOutput<'a>
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<'a> Debug for SignedMessageOutput<'a>
impl<'a> Debug for SignedMessageOutput<'a>
Source§impl Default for SignedMessageOutput<'_>
impl Default for SignedMessageOutput<'_>
Source§impl<'a> Hash for SignedMessageOutput<'a>
impl<'a> Hash for SignedMessageOutput<'a>
Source§impl<'a> Ord for SignedMessageOutput<'a>
impl<'a> Ord for SignedMessageOutput<'a>
Source§fn cmp(&self, other: &SignedMessageOutput<'a>) -> Ordering
fn cmp(&self, other: &SignedMessageOutput<'a>) -> 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<'a> PartialEq for SignedMessageOutput<'a>
impl<'a> PartialEq for SignedMessageOutput<'a>
Source§impl<'a> PartialOrd for SignedMessageOutput<'a>
impl<'a> PartialOrd for SignedMessageOutput<'a>
impl<'a> Copy for SignedMessageOutput<'a>
impl<'a> Eq for SignedMessageOutput<'a>
impl<'a> StructuralPartialEq for SignedMessageOutput<'a>
Auto Trait Implementations§
impl<'a> Freeze for SignedMessageOutput<'a>
impl<'a> RefUnwindSafe for SignedMessageOutput<'a>
impl<'a> Send for SignedMessageOutput<'a>
impl<'a> Sync for SignedMessageOutput<'a>
impl<'a> Unpin for SignedMessageOutput<'a>
impl<'a> UnwindSafe for SignedMessageOutput<'a>
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