pub struct DependabotAlertFixedAlertDependency {
pub manifest_path: String,
pub package: DependabotAlertPackage,
pub scope: Option<DependabotAlertFixedAlertDependencyScope>,
}
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<DependabotAlertFixedAlertDependencyScope>
The execution scope of the vulnerable dependency.
Implementations§
Trait Implementations§
Source§impl Clone for DependabotAlertFixedAlertDependency
impl Clone for DependabotAlertFixedAlertDependency
Source§fn clone(&self) -> DependabotAlertFixedAlertDependency
fn clone(&self) -> DependabotAlertFixedAlertDependency
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 DependabotAlertFixedAlertDependency
impl<'de> Deserialize<'de> for DependabotAlertFixedAlertDependency
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<&DependabotAlertFixedAlertDependency> for DependabotAlertFixedAlertDependency
impl From<&DependabotAlertFixedAlertDependency> for DependabotAlertFixedAlertDependency
Source§fn from(value: &DependabotAlertFixedAlertDependency) -> Self
fn from(value: &DependabotAlertFixedAlertDependency) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertFixedAlertDependency> for DependabotAlertFixedAlertDependency
impl From<DependabotAlertFixedAlertDependency> for DependabotAlertFixedAlertDependency
Source§fn from(value: DependabotAlertFixedAlertDependency) -> Self
fn from(value: DependabotAlertFixedAlertDependency) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DependabotAlertFixedAlertDependency
impl RefUnwindSafe for DependabotAlertFixedAlertDependency
impl Send for DependabotAlertFixedAlertDependency
impl Sync for DependabotAlertFixedAlertDependency
impl Unpin for DependabotAlertFixedAlertDependency
impl UnwindSafe for DependabotAlertFixedAlertDependency
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