pub enum PackageVcs {
Git {
url: Url,
branch: Option<String>,
subpath: Option<PathBuf>,
},
Svn(Url),
Bzr(Url),
Hg {
url: Url,
branch: Option<String>,
subpath: Option<PathBuf>,
},
Mtn(Url),
Cvs(String),
Darcs(Url),
Arch(Url),
Svk(Url),
}Expand description
VCS information for a package.
Variants§
Git
Git repository.
Fields
Svn(Url)
Subversion repository.
Bzr(Url)
Bazaar repository.
Hg
Mercurial repository.
Fields
Mtn(Url)
Monotone repository.
Cvs(String)
CVS repository.
Darcs(Url)
Darcs repository.
Arch(Url)
Arch repository.
Svk(Url)
Svk repository.
Implementations§
Source§impl PackageVcs
impl PackageVcs
Trait Implementations§
Source§impl Clone for PackageVcs
impl Clone for PackageVcs
Source§fn clone(&self) -> PackageVcs
fn clone(&self) -> PackageVcs
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageVcs
impl Debug for PackageVcs
Source§impl From<PackageVcs> for ParsedVcs
impl From<PackageVcs> for ParsedVcs
Source§fn from(vcs: PackageVcs) -> Self
fn from(vcs: PackageVcs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PackageVcs
impl PartialEq for PackageVcs
impl Eq for PackageVcs
impl StructuralPartialEq for PackageVcs
Auto Trait Implementations§
impl Freeze for PackageVcs
impl RefUnwindSafe for PackageVcs
impl Send for PackageVcs
impl Sync for PackageVcs
impl Unpin for PackageVcs
impl UnwindSafe for PackageVcs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.