pub struct ScanPublicKey(/* private fields */);Expand description
The receiver’s scan public key (B_scan in BIP 352).
Used by the sender to compute ECDH shared secrets for output generation.
Implementations§
Trait Implementations§
Source§impl Clone for ScanPublicKey
impl Clone for ScanPublicKey
Source§fn clone(&self) -> ScanPublicKey
fn clone(&self) -> ScanPublicKey
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 ScanPublicKey
impl Debug for ScanPublicKey
Source§impl From<PublicKey> for ScanPublicKey
impl From<PublicKey> for ScanPublicKey
Source§fn from(key: PublicKey) -> ScanPublicKey
fn from(key: PublicKey) -> ScanPublicKey
Converts to this type from the input type.
Source§impl PartialEq for ScanPublicKey
impl PartialEq for ScanPublicKey
impl Eq for ScanPublicKey
impl StructuralPartialEq for ScanPublicKey
Auto Trait Implementations§
impl Freeze for ScanPublicKey
impl RefUnwindSafe for ScanPublicKey
impl Send for ScanPublicKey
impl Sync for ScanPublicKey
impl Unpin for ScanPublicKey
impl UnsafeUnpin for ScanPublicKey
impl UnwindSafe for ScanPublicKey
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