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