pub struct LockedDependency {
pub name: String,
pub registry: String,
pub resolved_version: String,
pub download_url: String,
pub sha256: String,
pub output_path: String,
pub group_id: String,
pub artifact_id: String,
pub version_spec: String,
pub is_transitive: bool,
}Expand description
A locked dependency with exact version and integrity information
Represents a dependency that has been resolved to an exact version with all information needed for reproducible fetching.
Fields§
§name: StringLocal name/alias of the dependency
registry: StringRegistry name where this dependency was resolved
resolved_version: StringExact resolved version (no semver ranges)
download_url: StringFull URL used to download the artifact
sha256: StringSHA256 checksum of the downloaded content
output_path: StringLocal path where the artifact is stored
group_id: StringGroup ID of the artifact
artifact_id: StringArtifact ID in the registry
version_spec: StringOriginal version specification from config (e.g., “^1.0.0”)
is_transitive: boolWhether this dependency was resolved transitively from references
Trait Implementations§
Source§impl Clone for LockedDependency
impl Clone for LockedDependency
Source§fn clone(&self) -> LockedDependency
fn clone(&self) -> LockedDependency
Returns a duplicate 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 LockedDependency
impl Debug for LockedDependency
Source§impl<'de> Deserialize<'de> for LockedDependency
impl<'de> Deserialize<'de> for LockedDependency
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 PartialEq for LockedDependency
impl PartialEq for LockedDependency
Source§impl Serialize for LockedDependency
impl Serialize for LockedDependency
impl Eq for LockedDependency
impl StructuralPartialEq for LockedDependency
Auto Trait Implementations§
impl Freeze for LockedDependency
impl RefUnwindSafe for LockedDependency
impl Send for LockedDependency
impl Sync for LockedDependency
impl Unpin for LockedDependency
impl UnwindSafe for LockedDependency
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.