pub enum GitSnapshotObjectKind {
Blob,
Tree,
Commit,
}Expand description
Exact Git object type accepted by snapshot hash/import callbacks.
Variants§
Blob
Raw source archive or canonical descriptor bytes.
Tree
One of the three canonical nested trees.
Commit
The canonical parentless commit.
Implementations§
Trait Implementations§
Source§impl Clone for GitSnapshotObjectKind
impl Clone for GitSnapshotObjectKind
impl Copy for GitSnapshotObjectKind
Source§impl Debug for GitSnapshotObjectKind
impl Debug for GitSnapshotObjectKind
impl Eq for GitSnapshotObjectKind
Source§impl PartialEq for GitSnapshotObjectKind
impl PartialEq for GitSnapshotObjectKind
impl StructuralPartialEq for GitSnapshotObjectKind
Auto Trait Implementations§
impl Freeze for GitSnapshotObjectKind
impl RefUnwindSafe for GitSnapshotObjectKind
impl Send for GitSnapshotObjectKind
impl Sync for GitSnapshotObjectKind
impl Unpin for GitSnapshotObjectKind
impl UnsafeUnpin for GitSnapshotObjectKind
impl UnwindSafe for GitSnapshotObjectKind
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
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.