pub enum GitCommit<'c> {
Branch(Cow<'c, str>),
Tag(Cow<'c, str>),
Rev(Cow<'c, str>),
}Expand description
The commit of a git dependency.
Variants§
Implementations§
Trait Implementations§
impl<'c> StructuralPartialEq for GitCommit<'c>
Auto Trait Implementations§
impl<'c> Freeze for GitCommit<'c>
impl<'c> RefUnwindSafe for GitCommit<'c>
impl<'c> Send for GitCommit<'c>
impl<'c> Sync for GitCommit<'c>
impl<'c> Unpin for GitCommit<'c>
impl<'c> UnwindSafe for GitCommit<'c>
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