pub struct GitCommitId(/* private fields */);Expand description
A git commit id (SHA-1), hex on the wire: what a DataSet is
pinned to (0.91)
Implementations§
Trait Implementations§
Source§impl Clone for GitCommitId
impl Clone for GitCommitId
impl Copy for GitCommitId
Source§impl Debug for GitCommitId
impl Debug for GitCommitId
Source§impl<'de> Deserialize<'de> for GitCommitId
impl<'de> Deserialize<'de> for GitCommitId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GitCommitId
impl Display for GitCommitId
impl Eq for GitCommitId
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 GitCommitId
impl FromStr for GitCommitId
Source§impl Hash for GitCommitId
impl Hash for GitCommitId
Source§impl PartialEq for GitCommitId
impl PartialEq for GitCommitId
Source§impl Serialize for GitCommitId
impl Serialize for GitCommitId
impl StructuralPartialEq for GitCommitId
Source§impl TryFrom<&[u8]> for GitCommitId
impl TryFrom<&[u8]> for GitCommitId
Auto Trait Implementations§
impl Freeze for GitCommitId
impl RefUnwindSafe for GitCommitId
impl Send for GitCommitId
impl Sync for GitCommitId
impl Unpin for GitCommitId
impl UnsafeUnpin for GitCommitId
impl UnwindSafe for GitCommitId
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
impl<T> PendingHandle for Twhere
T: Send + 'static,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more