pub struct ResolvedRegistryEntry {
pub index: RegistryIndex,
pub auth: Option<AuthToken>,
pub provenance: Provenance,
}Expand description
One resolved [registries.<name>] entry.
Fields§
§index: RegistryIndexThe validated, fetchable index URL.
auth: Option<AuthToken>The bearer token to attach to requests against index, if any. Some only when
provenance is Provenance::CargoHome — see the module-level security-model
docs for why this is a structural, not runtime, guarantee.
provenance: ProvenanceWhere this entry was resolved from. Diagnostics/logging only.
Trait Implementations§
Source§impl Clone for ResolvedRegistryEntry
impl Clone for ResolvedRegistryEntry
Source§fn clone(&self) -> ResolvedRegistryEntry
fn clone(&self) -> ResolvedRegistryEntry
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 moreAuto Trait Implementations§
impl Freeze for ResolvedRegistryEntry
impl RefUnwindSafe for ResolvedRegistryEntry
impl Send for ResolvedRegistryEntry
impl Sync for ResolvedRegistryEntry
impl Unpin for ResolvedRegistryEntry
impl UnsafeUnpin for ResolvedRegistryEntry
impl UnwindSafe for ResolvedRegistryEntry
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