pub struct DependabotAlertPackage {
pub ecosystem: String,
pub name: String,
}
Expand description
Details for the vulnerable package.
JSON schema
{
"title": "dependabot_alert package",
"description": "Details for the vulnerable package.",
"type": "object",
"required": [
"ecosystem",
"name"
],
"properties": {
"ecosystem": {
"description": "The package's language or package management ecosystem.",
"type": "string"
},
"name": {
"description": "The unique package name within its ecosystem.",
"type": "string"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§ecosystem: String
The package’s language or package management ecosystem.
name: String
The unique package name within its ecosystem.
Implementations§
Source§impl DependabotAlertPackage
impl DependabotAlertPackage
pub fn builder() -> DependabotAlertPackage
Trait Implementations§
Source§impl Clone for DependabotAlertPackage
impl Clone for DependabotAlertPackage
Source§fn clone(&self) -> DependabotAlertPackage
fn clone(&self) -> DependabotAlertPackage
Returns a duplicate 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 DependabotAlertPackage
impl Debug for DependabotAlertPackage
Source§impl<'de> Deserialize<'de> for DependabotAlertPackage
impl<'de> Deserialize<'de> for DependabotAlertPackage
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 From<&DependabotAlertPackage> for DependabotAlertPackage
impl From<&DependabotAlertPackage> for DependabotAlertPackage
Source§fn from(value: &DependabotAlertPackage) -> Self
fn from(value: &DependabotAlertPackage) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertPackage> for DependabotAlertPackage
impl From<DependabotAlertPackage> for DependabotAlertPackage
Source§fn from(value: DependabotAlertPackage) -> Self
fn from(value: DependabotAlertPackage) -> Self
Converts to this type from the input type.
Source§impl Serialize for DependabotAlertPackage
impl Serialize for DependabotAlertPackage
Auto Trait Implementations§
impl Freeze for DependabotAlertPackage
impl RefUnwindSafe for DependabotAlertPackage
impl Send for DependabotAlertPackage
impl Sync for DependabotAlertPackage
impl Unpin for DependabotAlertPackage
impl UnwindSafe for DependabotAlertPackage
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