pub struct Vulnerability {
pub cve_id: String,
pub package: String,
pub affected_version: String,
pub fixed_version: Option<String>,
pub severity: Severity,
pub description: String,
}Expand description
SBOM 취약점 정보
취약점 데이터베이스에서 매칭된 CVE 정보를 나타냅니다.
Fields§
§cve_id: StringCVE ID (예: CVE-2024-1234)
package: String영향받는 패키지명
affected_version: String영향받는 버전
fixed_version: Option<String>수정된 버전 (있을 경우)
severity: Severity심각도
description: String취약점 설명
Trait Implementations§
Source§impl Clone for Vulnerability
impl Clone for Vulnerability
Source§fn clone(&self) -> Vulnerability
fn clone(&self) -> Vulnerability
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 Vulnerability
impl Debug for Vulnerability
Source§impl<'de> Deserialize<'de> for Vulnerability
impl<'de> Deserialize<'de> for Vulnerability
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 Display for Vulnerability
impl Display for Vulnerability
Auto Trait Implementations§
impl Freeze for Vulnerability
impl RefUnwindSafe for Vulnerability
impl Send for Vulnerability
impl Sync for Vulnerability
impl Unpin for Vulnerability
impl UnwindSafe for Vulnerability
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