pub struct Oid(/* private fields */);Expand description
Validated lowercase hexadecimal Git object identifier (40-character SHA-1 or 64-character SHA-256).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Oid
impl<'de> Deserialize<'de> for Oid
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Oid
Source§impl Ord for Oid
impl Ord for Oid
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Oid
impl PartialOrd for Oid
impl StructuralPartialEq for Oid
Auto Trait Implementations§
impl Forget for Oid
impl Freeze for Oid
impl Move for Oid
impl RefUnwindSafe for Oid
impl Send for Oidwhere
RawVecInner: Send,
impl Sync for Oidwhere
RawVecInner: Sync,
impl Unpin for Oid
impl UnsafeUnpin for Oid
impl UnwindSafe for Oidwhere
RawVecInner: UnwindSafe,
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