pub enum GitType {
Blob,
Tree,
Commit,
Tag,
}Expand description
The four storable git object types the bridge emits.
Variants§
Implementations§
Trait Implementations§
impl Copy for GitType
impl Eq for GitType
Source§impl From<GitObjKind> for GitType
impl From<GitObjKind> for GitType
Source§fn from(kind: GitObjKind) -> Self
fn from(kind: GitObjKind) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for GitType
Auto Trait Implementations§
impl Freeze for GitType
impl RefUnwindSafe for GitType
impl Send for GitType
impl Sync for GitType
impl Unpin for GitType
impl UnsafeUnpin for GitType
impl UnwindSafe for GitType
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