Enum couchdb::attachment::Digest [] [src]

pub enum Digest {
    // some variants omitted
}

Digest is a hashed sum of an attachment's content.

Methods

impl Digest
[src]

Borrows the encoded digest value.

For example, with an MD5 digest, the value is the 16-byte MD5 sum of the attachment's content.

Returns whether the digest is MD5-encoded.

Trait Implementations

impl Clone for Digest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Digest
[src]

Formats the value using the given formatter.

impl Eq for Digest
[src]

impl PartialEq for Digest
[src]

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

This method tests for !=.

impl<'a> Deserialize<'a> for Digest
[src]

Deserialize this value from the given Serde deserializer. Read more

impl FromStr for Digest
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more