Struct git_historian::SHA1 [] [src]

pub struct SHA1 { /* fields omitted */ }

A 20-byte SHA1 hash, used for identifying objects in Git.

Methods

impl SHA1
[src]

Parses a SHA1 from a 40 character hex string

Trait Implementations

impl Copy for SHA1
[src]

impl Clone for SHA1
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SHA1
[src]

Formats the value using the given formatter.

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

impl Hash for SHA1
[src]

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

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

impl Display for SHA1
[src]

Formats the value using the given formatter. Read more

impl Default for SHA1
[src]

Returns the "default value" for a type. Read more