Struct cargo::core::global_cache_tracker::RegistryIndex
source · pub struct RegistryIndex {
pub encoded_registry_name: InternedString,
}
Expand description
The key for a registry index entry stored in the database.
Fields§
§encoded_registry_name: InternedString
A unique name of the registry source.
Trait Implementations§
source§impl Clone for RegistryIndex
impl Clone for RegistryIndex
source§fn clone(&self) -> RegistryIndex
fn clone(&self) -> RegistryIndex
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 RegistryIndex
impl Debug for RegistryIndex
source§impl Hash for RegistryIndex
impl Hash for RegistryIndex
source§impl PartialEq for RegistryIndex
impl PartialEq for RegistryIndex
source§fn eq(&self, other: &RegistryIndex) -> bool
fn eq(&self, other: &RegistryIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RegistryIndex
impl StructuralPartialEq for RegistryIndex
Auto Trait Implementations§
impl RefUnwindSafe for RegistryIndex
impl Send for RegistryIndex
impl Sync for RegistryIndex
impl Unpin for RegistryIndex
impl UnwindSafe for RegistryIndex
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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.