pub struct LockEntry {
pub name: String,
pub version: String,
pub resolved: String,
pub integrity: Option<String>,
}Expand description
A resolved package to record in a generated lockfile — the write-side input mirroring a parsed
LockedPackage, kept to the flat-tree fields render_v3 emits.
Fields§
§name: StringPackage name (the node_modules/<name> key segment).
version: StringExact resolved version.
resolved: StringThe registry tarball URL — the entry’s resolved.
integrity: Option<String>The sha512-… Subresource-Integrity, when the registry advertised one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LockEntry
impl RefUnwindSafe for LockEntry
impl Send for LockEntry
impl Sync for LockEntry
impl Unpin for LockEntry
impl UnsafeUnpin for LockEntry
impl UnwindSafe for LockEntry
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