Struct onionsalt::crypto::KeyPair [] [src]

pub struct KeyPair {
    pub public: PublicKey,
    pub secret: SecretKey,
}

A pair with public and secret keys.

Fields

Trait Implementations

impl Debug for KeyPair
[src]

Formats the value using the given formatter.

impl Clone for KeyPair
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for KeyPair
[src]

impl PartialEq for KeyPair
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for KeyPair
[src]

impl Hash for KeyPair
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more