Struct ciruela::ImageId [] [src]

pub struct ImageId(_);

Image identifier

This is basically an array of bytes that is hexlified when printing.

The meaning of the type is the hash of all the entries in the index. So basically it can be used as an identified in content-addressed store.

Trait Implementations

impl Clone for ImageId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for ImageId
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for ImageId
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ImageId
[src]

impl<'a> From<&'a [u8]> for ImageId
[src]

[src]

Performs the conversion.

impl From<Vec<u8>> for ImageId
[src]

[src]

Performs the conversion.

impl Debug for ImageId
[src]

[src]

Formats the value using the given formatter.

impl Display for ImageId
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ImageId
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl AsRef<[u8]> for ImageId
[src]

[src]

Performs the conversion.