Struct secp256k1::PublicKey
[−]
[src]
pub struct PublicKey(_);
Public key on a secp256k1 curve.
Methods
impl PublicKey
[src]
fn from_secret_key(seckey: &SecretKey) -> PublicKey
[src]
fn parse(p: &[u8; 65]) -> Result<PublicKey, Error>
[src]
fn serialize(&self) -> [u8; 65]
[src]
Trait Implementations
impl Debug for PublicKey
[src]
impl Clone for PublicKey
[src]
fn clone(&self) -> PublicKey
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for PublicKey
[src]
impl PartialEq for PublicKey
[src]
fn eq(&self, __arg_0: &PublicKey) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PublicKey) -> bool
[src]
This method tests for !=
.