Struct github_webhook::payload_types::PackageNPMMetadata
source · 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>
§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>
impl<'a> Debug for PackageNPMMetadata<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for PackageNPMMetadata<'a>
impl<'de: 'a, 'a> Deserialize<'de> for PackageNPMMetadata<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PackageNPMMetadata<'a>
impl<'a> Send for PackageNPMMetadata<'a>
impl<'a> Sync for PackageNPMMetadata<'a>
impl<'a> Unpin for PackageNPMMetadata<'a>
impl<'a> UnwindSafe for PackageNPMMetadata<'a>
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