Struct routing::AppendedData [] [src]

pub struct AppendedData {
    pub pointer: DataIdentifier,
    pub sign_key: PublicKey,
    pub signature: Signature,
}

An appended data item, pointing to another data chunk in the network.

Fields

A pointer to the chunk with the actual data.

The public key of the signer.

The signature of the above fields.

Methods

impl AppendedData
[src]

Returns a new signed appended data.

Returns true if the signature matches the data.

Trait Implementations

impl Hash for AppendedData
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for AppendedData
[src]

impl PartialEq for AppendedData
[src]

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

This method tests for !=.

impl PartialOrd for AppendedData
[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 AppendedData
[src]

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

impl Clone for AppendedData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for AppendedData
[src]

impl Encodable for AppendedData
[src]

impl Debug for AppendedData
[src]

Formats the value using the given formatter.