Enum cargo_fetcher::cargo::RegistryProtocol
source ยท pub enum RegistryProtocol {
Git,
Sparse,
}
Variantsยง
Trait Implementationsยง
sourceยงimpl Clone for RegistryProtocol
impl Clone for RegistryProtocol
sourceยงfn clone(&self) -> RegistryProtocol
fn clone(&self) -> RegistryProtocol
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 RegistryProtocol
impl Debug for RegistryProtocol
sourceยงimpl Default for RegistryProtocol
impl Default for RegistryProtocol
sourceยงfn default() -> RegistryProtocol
fn default() -> RegistryProtocol
Returns the โdefault valueโ for a type. Read more
sourceยงimpl<'de> Deserialize<'de> for RegistryProtocol
impl<'de> Deserialize<'de> for RegistryProtocol
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 FromStr for RegistryProtocol
impl FromStr for RegistryProtocol
sourceยงimpl PartialEq<RegistryProtocol> for RegistryProtocol
impl PartialEq<RegistryProtocol> for RegistryProtocol
sourceยงfn eq(&self, other: &RegistryProtocol) -> bool
fn eq(&self, other: &RegistryProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.sourceยงimpl Serialize for RegistryProtocol
impl Serialize for RegistryProtocol
impl Copy for RegistryProtocol
impl Eq for RegistryProtocol
impl StructuralEq for RegistryProtocol
impl StructuralPartialEq for RegistryProtocol
Auto Trait Implementationsยง
impl RefUnwindSafe for RegistryProtocol
impl Send for RegistryProtocol
impl Sync for RegistryProtocol
impl Unpin for RegistryProtocol
impl UnwindSafe for RegistryProtocol
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
ยงimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
sourceยงimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.ยงimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.