pub struct DependabotAlertCreatedAlertDependency {
pub manifest_path: String,
pub package: DependabotAlertPackage,
pub scope: Option<DependabotAlertCreatedAlertDependencyScope>,
}
Expand description
Details for the vulnerable dependency.
JSON schema
{
"description": "Details for the vulnerable dependency.",
"type": "object",
"required": [
"manifest_path",
"package",
"scope"
],
"properties": {
"manifest_path": {
"description": "The full path to the dependency manifest file, relative to the root of the repository.",
"type": "string"
},
"package": {
"$ref": "#/definitions/dependabot-alert-package"
},
"scope": {
"description": "The execution scope of the vulnerable dependency.",
"type": [
"string",
"null"
],
"enum": [
"development",
"runtime",
null
]
}
},
"additionalProperties": false
}
Fields§
§manifest_path: String
The full path to the dependency manifest file, relative to the root of the repository.
package: DependabotAlertPackage
§scope: Option<DependabotAlertCreatedAlertDependencyScope>
The execution scope of the vulnerable dependency.
Implementations§
Trait Implementations§
Source§impl Clone for DependabotAlertCreatedAlertDependency
impl Clone for DependabotAlertCreatedAlertDependency
Source§fn clone(&self) -> DependabotAlertCreatedAlertDependency
fn clone(&self) -> DependabotAlertCreatedAlertDependency
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<'de> Deserialize<'de> for DependabotAlertCreatedAlertDependency
impl<'de> Deserialize<'de> for DependabotAlertCreatedAlertDependency
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<&DependabotAlertCreatedAlertDependency> for DependabotAlertCreatedAlertDependency
impl From<&DependabotAlertCreatedAlertDependency> for DependabotAlertCreatedAlertDependency
Source§fn from(value: &DependabotAlertCreatedAlertDependency) -> Self
fn from(value: &DependabotAlertCreatedAlertDependency) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertCreatedAlertDependency> for DependabotAlertCreatedAlertDependency
impl From<DependabotAlertCreatedAlertDependency> for DependabotAlertCreatedAlertDependency
Source§fn from(value: DependabotAlertCreatedAlertDependency) -> Self
fn from(value: DependabotAlertCreatedAlertDependency) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DependabotAlertCreatedAlertDependency
impl RefUnwindSafe for DependabotAlertCreatedAlertDependency
impl Send for DependabotAlertCreatedAlertDependency
impl Sync for DependabotAlertCreatedAlertDependency
impl Unpin for DependabotAlertCreatedAlertDependency
impl UnwindSafe for DependabotAlertCreatedAlertDependency
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