pub enum ProjectKind {
External,
SelfRepo,
}Variants§
External
Snapshots come from cloning git_url and walking 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
Source§fn clone(&self) -> ProjectKind
fn clone(&self) -> ProjectKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
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 Freeze 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