pub struct PackageLockJson {
pub name: String,
pub version: Option<String>,
pub lockfile_version: u32,
pub dependencies: Option<HashMap<String, V1Dependency>>,
pub packages: Option<HashMap<String, V2Dependency>>,
}
Fields§
§name: String
§version: Option<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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for PackageLockJson
impl PartialEq for PackageLockJson
Source§impl Serialize for PackageLockJson
impl Serialize for PackageLockJson
impl Eq for PackageLockJson
impl StructuralPartialEq for PackageLockJson
Auto Trait Implementations§
impl Freeze for PackageLockJson
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