pub enum RemoteKind {
GitDependency,
Registry,
}
Expand description
The kind remote repository to fetch.
Variants§
GitDependency
A repository belongs to a git dependency.
Registry
A repository belongs to a Cargo registry.
Trait Implementations§
source§impl Clone for RemoteKind
impl Clone for RemoteKind
source§fn clone(&self) -> RemoteKind
fn clone(&self) -> RemoteKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RemoteKind
impl Debug for RemoteKind
impl Copy for RemoteKind
Auto Trait Implementations§
impl RefUnwindSafe for RemoteKind
impl Send for RemoteKind
impl Sync for RemoteKind
impl Unpin for RemoteKind
impl UnwindSafe for RemoteKind
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