pub enum ProjectKind {
External,
SelfRepo,
}Variants§
External
Snapshots come from cloning git_url and reading its tags. The default.
SelfRepo
Snapshots are produced from the working repo at --repo-dir-path, at
a git_ref resolved per pin. There can be at most one self-project.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectKind
impl Clone for ProjectKind
impl Copy for ProjectKind
Source§impl Debug for ProjectKind
impl Debug for ProjectKind
Source§impl<'de> Deserialize<'de> for ProjectKind
impl<'de> Deserialize<'de> for ProjectKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProjectKind
impl Display for ProjectKind
impl Eq for ProjectKind
Source§impl FromStr for ProjectKind
impl FromStr for ProjectKind
Source§impl PartialEq for ProjectKind
impl PartialEq for ProjectKind
Source§impl Serialize for ProjectKind
impl Serialize for ProjectKind
impl StructuralPartialEq for ProjectKind
Auto Trait Implementations§
impl Forget for ProjectKind
impl Freeze for ProjectKind
impl Move for ProjectKind
impl RefUnwindSafe for ProjectKind
impl Send for ProjectKind
impl Sync for ProjectKind
impl Unpin for ProjectKind
impl UnsafeUnpin for ProjectKind
impl UnwindSafe for ProjectKind
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