pub struct PublicKey { /* private fields */ }Expand description
New owned buffer
Construct the reference version of this type through the algorithm API functions.
Optional support for serde if that feature is enabled.
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a PublicKey> for PublicKeyRef<'a>
impl<'a> From<&'a PublicKey> for PublicKeyRef<'a>
Source§fn from(buf: &'a PublicKey) -> PublicKeyRef<'a>
fn from(buf: &'a PublicKey) -> PublicKeyRef<'a>
Converts to this type from the input type.
impl Eq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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