pub struct UnversionedTarget {
pub package: String,
pub ecosystem: Ecosystem,
pub registry: Registry,
}Expand description
A manifest-versioned target (VersionSource::Manifest) whose resolved package
has no detected manifest version in facts — the fail-closed row for
version-source-fail-closed-nonrust.
Unlike a VersionSource::Distribution target (skipped by design), a manifest
target with no readable version means the detector failed on an ecosystem that
is manifest-versioned. The guard refuses rather than publish an unchecked
version.
Fields§
§package: StringThe resolved package whose manifest version could not be read.
ecosystem: EcosystemThe package’s ecosystem.
registry: RegistryThe publish destination — the registry whose manifest a version was expected
from (npm←package.json, PyPI←pyproject.toml, …).
Trait Implementations§
Source§impl Clone for UnversionedTarget
impl Clone for UnversionedTarget
Source§fn clone(&self) -> UnversionedTarget
fn clone(&self) -> UnversionedTarget
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 moreSource§impl Debug for UnversionedTarget
impl Debug for UnversionedTarget
impl Eq for UnversionedTarget
Source§impl PartialEq for UnversionedTarget
impl PartialEq for UnversionedTarget
Source§impl Serialize for UnversionedTarget
impl Serialize for UnversionedTarget
impl StructuralPartialEq for UnversionedTarget
Auto Trait Implementations§
impl Freeze for UnversionedTarget
impl RefUnwindSafe for UnversionedTarget
impl Send for UnversionedTarget
impl Sync for UnversionedTarget
impl Unpin for UnversionedTarget
impl UnsafeUnpin for UnversionedTarget
impl UnwindSafe for UnversionedTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.