pub struct DependencyGraphDiffInner {
pub change_type: ChangeType,
pub manifest: String,
pub ecosystem: String,
pub name: String,
pub version: String,
pub package_url: Option<String>,
pub license: Option<String>,
pub source_repository_url: Option<String>,
pub vulnerabilities: Vec<DependencyGraphDiffInnerVulnerabilitiesInner>,
pub scope: Scope,
}
Fields§
§change_type: ChangeType
§manifest: String
§ecosystem: String
§name: String
§version: String
§package_url: Option<String>
§license: Option<String>
§source_repository_url: Option<String>
§vulnerabilities: Vec<DependencyGraphDiffInnerVulnerabilitiesInner>
§scope: Scope
Where the dependency is utilized. development
means that the dependency is only utilized in the development environment. runtime
means that the dependency is utilized at runtime and in the development environment.
Implementations§
Source§impl DependencyGraphDiffInner
impl DependencyGraphDiffInner
pub fn new( change_type: ChangeType, manifest: String, ecosystem: String, name: String, version: String, package_url: Option<String>, license: Option<String>, source_repository_url: Option<String>, vulnerabilities: Vec<DependencyGraphDiffInnerVulnerabilitiesInner>, scope: Scope, ) -> DependencyGraphDiffInner
Trait Implementations§
Source§impl Clone for DependencyGraphDiffInner
impl Clone for DependencyGraphDiffInner
Source§fn clone(&self) -> DependencyGraphDiffInner
fn clone(&self) -> DependencyGraphDiffInner
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 DependencyGraphDiffInner
impl Debug for DependencyGraphDiffInner
Source§impl Default for DependencyGraphDiffInner
impl Default for DependencyGraphDiffInner
Source§fn default() -> DependencyGraphDiffInner
fn default() -> DependencyGraphDiffInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependencyGraphDiffInner
impl<'de> Deserialize<'de> for DependencyGraphDiffInner
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 PartialEq for DependencyGraphDiffInner
impl PartialEq for DependencyGraphDiffInner
Source§impl Serialize for DependencyGraphDiffInner
impl Serialize for DependencyGraphDiffInner
impl StructuralPartialEq for DependencyGraphDiffInner
Auto Trait Implementations§
impl Freeze for DependencyGraphDiffInner
impl RefUnwindSafe for DependencyGraphDiffInner
impl Send for DependencyGraphDiffInner
impl Sync for DependencyGraphDiffInner
impl Unpin for DependencyGraphDiffInner
impl UnwindSafe for DependencyGraphDiffInner
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