pub struct Locked {
pub name: String,
pub git: Option<String>,
pub rev: Option<String>,
pub commit: Option<String>,
pub npm: Option<String>,
pub version: Option<String>,
pub path: Option<String>,
pub tarball: Option<String>,
pub integrity: Option<String>,
pub hash: Option<String>,
pub items: Vec<Item>,
pub packages: Vec<Pinned>,
}Expand description
What one manifest entry resolved to.
Fields§
§name: StringThe entry’s name.
git: Option<String>The git repository, as the manifest gives it.
rev: Option<String>The git revision the manifest asks for.
commit: Option<String>The commit the revision resolved to.
npm: Option<String>The npm package.
version: Option<String>The npm version installed.
path: Option<String>The subpath in the git or npm package, or the source of a path entry.
tarball: Option<String>The tarball of an npm skill or agent.
integrity: Option<String>The integrity of that tarball.
hash: Option<String>The tree_hash of the installed entry.
items: Vec<Item>Without a path, each item the package provides, with its hash.
packages: Vec<Pinned>An npm extension’s full installed tree.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Locked
impl<'de> Deserialize<'de> for Locked
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
impl Eq for Locked
impl StructuralPartialEq for Locked
Auto Trait Implementations§
impl Freeze for Locked
impl RefUnwindSafe for Locked
impl Send for Locked
impl Sync for Locked
impl Unpin for Locked
impl UnsafeUnpin for Locked
impl UnwindSafe for Locked
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.