Struct node_maintainer::LockfileNode
source · pub struct LockfileNode {
pub name: UniCase<String>,
pub is_root: bool,
pub path: Vec<UniCase<String>>,
pub resolved: Option<String>,
pub version: Option<Version>,
pub integrity: Option<Integrity>,
pub dependencies: BTreeMap<String, String>,
pub dev_dependencies: BTreeMap<String, String>,
pub peer_dependencies: BTreeMap<String, String>,
pub optional_dependencies: BTreeMap<String, String>,
}Fields§
§name: UniCase<String>§is_root: bool§path: Vec<UniCase<String>>§resolved: Option<String>§version: Option<Version>§integrity: Option<Integrity>§dependencies: BTreeMap<String, String>§dev_dependencies: BTreeMap<String, String>§peer_dependencies: BTreeMap<String, String>§optional_dependencies: BTreeMap<String, String>Trait Implementations§
source§impl Clone for LockfileNode
impl Clone for LockfileNode
source§fn clone(&self) -> LockfileNode
fn clone(&self) -> LockfileNode
Returns a copy 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 LockfileNode
impl Debug for LockfileNode
source§impl Default for LockfileNode
impl Default for LockfileNode
source§fn default() -> LockfileNode
fn default() -> LockfileNode
Returns the “default value” for a type. Read more
source§impl From<LockfileNode> for CorgiManifest
impl From<LockfileNode> for CorgiManifest
source§fn from(value: LockfileNode) -> Self
fn from(value: LockfileNode) -> Self
Converts to this type from the input type.
source§impl PartialEq<LockfileNode> for LockfileNode
impl PartialEq<LockfileNode> for LockfileNode
source§fn eq(&self, other: &LockfileNode) -> bool
fn eq(&self, other: &LockfileNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LockfileNode
impl StructuralEq for LockfileNode
impl StructuralPartialEq for LockfileNode
Auto Trait Implementations§
impl RefUnwindSafe for LockfileNode
impl Send for LockfileNode
impl Sync for LockfileNode
impl Unpin for LockfileNode
impl UnwindSafe for LockfileNode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.