pub struct PackageNPMMetadata<'a> {
Show 37 fields pub name: Option<&'a str>, pub version: Option<&'a str>, pub npm_user: Option<&'a str>, pub author: Option<HashMap<&'a str, &'a str>>, pub bugs: Option<HashMap<&'a str, &'a str>>, pub dependencies: Option<HashMap<&'a str, &'a str>>, pub dev_dependencies: Option<HashMap<&'a str, &'a str>>, pub peer_dependencies: Option<HashMap<&'a str, &'a str>>, pub optional_dependencies: Option<HashMap<&'a str, &'a str>>, pub description: Option<&'a str>, pub dist: Option<HashMap<&'a str, &'a str>>, pub git_head: Option<&'a str>, pub homepage: Option<&'a str>, pub license: Option<&'a str>, pub main: Option<&'a str>, pub repository: Option<HashMap<&'a str, &'a str>>, pub scripts: Option<HashMap<&'a str, Value>>, pub id: Option<&'a str>, pub node_version: Option<&'a str>, pub npm_version: Option<&'a str>, pub has_shrinkwrap: Option<bool>, pub maintainers: Option<Vec<HashMap<&'a str, Value>>>, pub contributors: Option<Vec<HashMap<&'a str, Value>>>, pub engines: Option<HashMap<&'a str, &'a str>>, pub keywords: Option<Vec<&'a str>>, pub files: Option<Vec<&'a str>>, pub bin: Option<HashMap<&'a str, Value>>, pub man: Option<HashMap<&'a str, Value>>, pub directories: Option<HashMap<&'a str, &'a str>>, pub os: Option<Vec<&'a str>>, pub cpu: Option<Vec<&'a str>>, pub readme: Option<&'a str>, pub installation_command: Option<&'a str>, pub release_id: Option<usize>, pub commit_oid: Option<&'a str>, pub published_via_actions: Option<bool>, pub deleted_by_id: Option<usize>,
}

Fields§

§name: Option<&'a str>§version: Option<&'a str>§npm_user: Option<&'a str>§author: Option<HashMap<&'a str, &'a str>>§bugs: Option<HashMap<&'a str, &'a str>>§dependencies: Option<HashMap<&'a str, &'a str>>§dev_dependencies: Option<HashMap<&'a str, &'a str>>§peer_dependencies: Option<HashMap<&'a str, &'a str>>§optional_dependencies: Option<HashMap<&'a str, &'a str>>§description: Option<&'a str>§dist: Option<HashMap<&'a str, &'a str>>§git_head: Option<&'a str>§homepage: Option<&'a str>§license: Option<&'a str>§main: Option<&'a str>§repository: Option<HashMap<&'a str, &'a str>>§scripts: Option<HashMap<&'a str, Value>>§id: Option<&'a str>§node_version: Option<&'a str>§npm_version: Option<&'a str>§has_shrinkwrap: Option<bool>§maintainers: Option<Vec<HashMap<&'a str, Value>>>§contributors: Option<Vec<HashMap<&'a str, Value>>>§engines: Option<HashMap<&'a str, &'a str>>§keywords: Option<Vec<&'a str>>§files: Option<Vec<&'a str>>§bin: Option<HashMap<&'a str, Value>>§man: Option<HashMap<&'a str, Value>>§directories: Option<HashMap<&'a str, &'a str>>§os: Option<Vec<&'a str>>§cpu: Option<Vec<&'a str>>§readme: Option<&'a str>§installation_command: Option<&'a str>§release_id: Option<usize>§commit_oid: Option<&'a str>§published_via_actions: Option<bool>§deleted_by_id: Option<usize>

Trait Implementations§

source§

impl<'a> Debug for PackageNPMMetadata<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for PackageNPMMetadata<'a>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,