pub struct NVDClient {
pub api_key: String,
/* private fields */
}Fields§
§api_key: StringImplementations§
Source§impl NVDClient
impl NVDClient
pub fn new(api_key: &str) -> Self
pub fn lookup_cve(&mut self, cve_id: &str) -> Option<NVDCVEInfo>
pub fn enrich_records(&mut self, records: &mut [ScanRecord]) -> EnrichmentStats
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NVDClient
impl RefUnwindSafe for NVDClient
impl Send for NVDClient
impl Sync for NVDClient
impl Unpin for NVDClient
impl UnsafeUnpin for NVDClient
impl UnwindSafe for NVDClient
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