Struct rubbish::cas::Hash [] [src]

pub struct Hash(_);

Type Hash represents the key under which content is stored.

Methods

impl Hash
[src]

Create a new hash, given a hex representation.

Create a new hash for the given content

Trait Implementations

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

impl Hash for Hash
[src]

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

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

impl Clone for Hash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for Hash
[src]

Deserialize a value using a Decoder.

impl Encodable for Hash
[src]

Serialize a value using an Encoder.

impl Debug for Hash
[src]

Formats the value using the given formatter.