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 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 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 for V1Dependency
impl PartialEq for V1Dependency
Source§impl Serialize for V1Dependency
impl Serialize for V1Dependency
impl Eq for V1Dependency
impl StructuralPartialEq for V1Dependency
Auto Trait Implementations§
impl Freeze for V1Dependency
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