pub struct PackageRegistryInfoTarGz {
pub registry: Url,
pub queried_name: String,
pub queried_version: Option<String>,
pub resolved_name: String,
pub resolved_version: String,
pub url: Url,
}
Fields
registry: Url
queried_name: String
Name of the package as originally queried
queried_version: Option<String>
Version of the originally queried package
resolved_name: String
Name of the resolved package, this can differ from the original package name due to server-side package redirection
resolved_version: String
Resolved version of the package
url: Url
URL of the .tar.gz file
Trait Implementations
sourceimpl Clone for PackageRegistryInfoTarGz
impl Clone for PackageRegistryInfoTarGz
sourcefn clone(&self) -> PackageRegistryInfoTarGz
fn clone(&self) -> PackageRegistryInfoTarGz
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PackageRegistryInfoTarGz
impl Debug for PackageRegistryInfoTarGz
sourceimpl PartialEq<PackageRegistryInfoTarGz> for PackageRegistryInfoTarGz
impl PartialEq<PackageRegistryInfoTarGz> for PackageRegistryInfoTarGz
sourcefn eq(&self, other: &PackageRegistryInfoTarGz) -> bool
fn eq(&self, other: &PackageRegistryInfoTarGz) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for PackageRegistryInfoTarGz
Auto Trait Implementations
impl RefUnwindSafe for PackageRegistryInfoTarGz
impl Send for PackageRegistryInfoTarGz
impl Sync for PackageRegistryInfoTarGz
impl Unpin for PackageRegistryInfoTarGz
impl UnwindSafe for PackageRegistryInfoTarGz
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more