Struct package_lock_json_parser::V1Dependency
source · pub struct V1Dependency {
pub version: String,
pub resolved: Option<String>,
pub integrity: Option<String>,
pub bundled: bool,
pub is_dev: bool,
pub is_optional: bool,
pub requires: Option<HashMap<String, String>>,
pub dependencies: Option<HashMap<String, V1Dependency>>,
}Fields§
§version: String§resolved: Option<String>§integrity: Option<String>§bundled: bool§is_dev: bool§is_optional: bool§requires: Option<HashMap<String, String>>§dependencies: Option<HashMap<String, V1Dependency>>Trait Implementations§
source§impl Clone for V1Dependency
impl Clone for V1Dependency
source§fn clone(&self) -> V1Dependency
fn clone(&self) -> V1Dependency
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 V1Dependency
impl Debug for V1Dependency
source§impl Default for V1Dependency
impl Default for V1Dependency
source§fn default() -> V1Dependency
fn default() -> V1Dependency
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for V1Dependency
impl<'de> Deserialize<'de> for V1Dependency
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<V1Dependency> for V1Dependency
impl PartialEq<V1Dependency> for V1Dependency
source§fn eq(&self, other: &V1Dependency) -> bool
fn eq(&self, other: &V1Dependency) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for V1Dependency
impl Serialize for V1Dependency
impl Eq for V1Dependency
impl StructuralEq for V1Dependency
impl StructuralPartialEq for V1Dependency
Auto Trait Implementations§
impl RefUnwindSafe for V1Dependency
impl Send for V1Dependency
impl Sync for V1Dependency
impl Unpin for V1Dependency
impl UnwindSafe for V1Dependency
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