Struct multihash::Multihash [] [src]

pub struct Multihash<'a> {
    pub alg: Hash,
    pub digest: &'a [u8],
}

Represents a valid multihash, by associating the hash algorithm with the data

Fields

Trait Implementations

impl<'a> PartialEq for Multihash<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for Multihash<'a>
[src]

impl<'a> Clone for Multihash<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Multihash<'a>
[src]

Formats the value using the given formatter.