Struct duniter_keys::ed25519::PrivateKey
[−]
[src]
pub struct PrivateKey(pub [u8; 64]);
Store a Ed25519 private key.
Can be generated with KeyPairGenerator
.
Trait Implementations
impl Copy for PrivateKey
[src]
impl Clone for PrivateKey
[src]
fn clone(&self) -> PrivateKey
[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 ToBase58 for PrivateKey
[src]
fn to_base58(&self) -> String
[src]
Converts a value of self
to a base58 value, returning the owned string.
impl Display for PrivateKey
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Debug for PrivateKey
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl PartialEq<PrivateKey> for PrivateKey
[src]
fn eq(&self, other: &PrivateKey) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.