Struct routing::PublicId [] [src]

pub struct PublicId { /* fields omitted */ }

Network identity component containing name and public keys.

Note that the name member is omitted when serialising PublicId and is calculated from the public_sign_key when deserialising.

Methods

impl PublicId
[src]

Return initial/relocated name.

Return public signing key.

Return public signing key.

Trait Implementations

impl Hash for PublicId
[src]

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

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

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

impl PartialOrd for PublicId
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for PublicId
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl Copy for PublicId
[src]

impl Clone for PublicId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Uid for PublicId
[src]

impl Debug for PublicId
[src]

Formats the value using the given formatter.

impl Display for PublicId
[src]

Formats the value using the given formatter. Read more

impl Serialize for PublicId
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for PublicId
[src]

Deserialize this value from the given Serde deserializer. Read more