Struct onionsalt::crypto::PublicKey [] [src]

pub struct PublicKey(pub [u8; 32]);

A public key.

Trait Implementations

impl Debug for PublicKey
[src]

Formats the value using the given formatter.

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PublicKey
[src]

impl PartialEq for PublicKey
[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 PublicKey
[src]

impl Hash for PublicKey
[src]

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

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

impl Display for PublicKey
[src]

Formats the value using the given formatter. Read more

impl Deserialize for PublicKey
[src]

Deserialize this value given this Deserializer.

impl Serialize for PublicKey
[src]

Serializes this value into this serializer.