pub struct ReceiverKeyPair { /* private fields */ }Expand description
Message receiver’s key pair
Trait Implementations§
Source§impl Clone for ReceiverKeyPair
impl Clone for ReceiverKeyPair
Source§fn clone(&self) -> ReceiverKeyPair
fn clone(&self) -> ReceiverKeyPair
Returns a duplicate 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 Debug for ReceiverKeyPair
impl Debug for ReceiverKeyPair
Source§impl ReceiverKeyPairCore for ReceiverKeyPair
impl ReceiverKeyPairCore for ReceiverKeyPair
Source§fn new(
receiver_private_key: ReceiverPrivateKey,
receiver_public_key: ReceiverPublicKey,
) -> Selfwhere
Self: Sized,
fn new(
receiver_private_key: ReceiverPrivateKey,
receiver_public_key: ReceiverPublicKey,
) -> Selfwhere
Self: Sized,
Constructor
Source§fn private_key(&self) -> &ReceiverPrivateKey
fn private_key(&self) -> &ReceiverPrivateKey
Ref to private key.
Source§fn public_key(&self) -> &ReceiverPublicKey
fn public_key(&self) -> &ReceiverPublicKey
Ref to public key.
Auto Trait Implementations§
impl Freeze for ReceiverKeyPair
impl RefUnwindSafe for ReceiverKeyPair
impl Send for ReceiverKeyPair
impl Sync for ReceiverKeyPair
impl Unpin for ReceiverKeyPair
impl UnwindSafe for ReceiverKeyPair
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