pub struct GitCommitPrefix(/* private fields */);Expand description
The first 7 to 40 hex digits of a git commit id, lowercase: how a
DataCitation names the commit it was read at
Implementations§
Trait Implementations§
Source§impl Clone for GitCommitPrefix
impl Clone for GitCommitPrefix
Source§impl Debug for GitCommitPrefix
impl Debug for GitCommitPrefix
Source§impl Display for GitCommitPrefix
impl Display for GitCommitPrefix
impl Eq for GitCommitPrefix
Source§impl From<GitCommitId> for GitCommitPrefix
impl From<GitCommitId> for GitCommitPrefix
Source§fn from(commit: GitCommitId) -> Self
fn from(commit: GitCommitId) -> Self
Converts to this type from the input type.
Source§impl FromStr for GitCommitPrefix
impl FromStr for GitCommitPrefix
Source§impl Hash for GitCommitPrefix
impl Hash for GitCommitPrefix
Source§impl PartialEq for GitCommitPrefix
impl PartialEq for GitCommitPrefix
impl StructuralPartialEq for GitCommitPrefix
Auto Trait Implementations§
impl Freeze for GitCommitPrefix
impl RefUnwindSafe for GitCommitPrefix
impl Send for GitCommitPrefix
impl Sync for GitCommitPrefix
impl Unpin for GitCommitPrefix
impl UnsafeUnpin for GitCommitPrefix
impl UnwindSafe for GitCommitPrefix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.