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