pub enum GitPin {
Version(String),
Rev(String),
}Expand description
A git source asks for a version, by way of the tag it was published under, or pins one
commit in full — never both, and never neither.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitPin
impl RefUnwindSafe for GitPin
impl Send for GitPin
impl Sync for GitPin
impl Unpin for GitPin
impl UnsafeUnpin for GitPin
impl UnwindSafe for GitPin
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