pub struct Builder { /* private fields */ }
Expand description

Implementations§

Appends an item to cvss.

To override the contents of this collection use set_cvss.

An object that contains details about the CVSS score of a finding.

An object that contains details about the CVSS score of a finding.

Appends an item to reference_urls.

To override the contents of this collection use set_reference_urls.

One or more URLs that contain details about this vulnerability type.

One or more URLs that contain details about this vulnerability type.

Appends an item to related_vulnerabilities.

To override the contents of this collection use set_related_vulnerabilities.

One or more vulnerabilities related to the one identified in this finding.

One or more vulnerabilities related to the one identified in this finding.

The source of the vulnerability information.

The source of the vulnerability information.

A URL to the source of the vulnerability information.

A URL to the source of the vulnerability information.

The date and time that this vulnerability was first added to the vendor's database.

The date and time that this vulnerability was first added to the vendor's database.

The severity the vendor has given to this vulnerability type.

The severity the vendor has given to this vulnerability type.

The date and time the vendor last updated this vulnerability in their database.

The date and time the vendor last updated this vulnerability in their database.

The ID given to this vulnerability.

The ID given to this vulnerability.

Appends an item to vulnerable_packages.

To override the contents of this collection use set_vulnerable_packages.

The packages impacted by this vulnerability.

The packages impacted by this vulnerability.

Consumes the builder and constructs a PackageVulnerabilityDetails.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more