pub struct CveFileMetadata {
pub const_name: &'static str,
pub urn: &'static str,
pub title: &'static str,
pub source: &'static str,
pub poc_name: &'static str,
pub poc_email: &'static str,
pub owner_producer: &'static str,
pub spec_version: &'static str,
pub des_version: &'static str,
pub schema_version: &'static str,
}Expand description
Per-CVE-file publishing metadata.
One instance per CVEnum*.json file under
crates/ism/schemas/ISM-v2022-DEC/CVE_ISM/. Every token-level
metadata entry references one of these so the same authority,
point of contact, and schema-version provenance is shared
across all tokens published in that file.
Fields§
§const_name: &'static strSymbolic constant name (e.g., “CVE_DISSEM”).
urn: &'static strSource-of-record URN, e.g.,
urn:us:gov:ic:cvenum:ism:dissem.
title: &'static strCVE title text.
source: &'static strFree-form Source text from the CVE IRM.
poc_name: &'static strPoint-of-contact name.
poc_email: &'static strPoint-of-contact email.
owner_producer: &'static strOwner/producer code, e.g., "USA".
spec_version: &'static strCVE specVersion, e.g., "202111.202211".
des_version: &'static strCVE ism:DESVersion, e.g., "202111".
schema_version: &'static strPinned schema package version (SCHEMA_VERSION).
Trait Implementations§
Source§impl Clone for CveFileMetadata
impl Clone for CveFileMetadata
Source§fn clone(&self) -> CveFileMetadata
fn clone(&self) -> CveFileMetadata
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 CveFileMetadata
impl Debug for CveFileMetadata
impl Copy for CveFileMetadata
Auto Trait Implementations§
impl Freeze for CveFileMetadata
impl RefUnwindSafe for CveFileMetadata
impl Send for CveFileMetadata
impl Sync for CveFileMetadata
impl Unpin for CveFileMetadata
impl UnsafeUnpin for CveFileMetadata
impl UnwindSafe for CveFileMetadata
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