pub enum GitRev {
Default,
Rev(String),
Tag(String),
Branch(String),
}Expand description
Which git revision a git dependency resolves to.
Variants§
Default
No rev/tag/branch: the repository’s default branch.
Rev(String)
A commit sha (rev = "…").
Tag(String)
A tag (tag = "…").
Branch(String)
A branch (branch = "…").
Implementations§
Trait Implementations§
impl StructuralPartialEq for GitRev
Auto Trait Implementations§
impl Freeze for GitRev
impl RefUnwindSafe for GitRev
impl Send for GitRev
impl Sync for GitRev
impl Unpin for GitRev
impl UnsafeUnpin for GitRev
impl UnwindSafe for GitRev
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