pub struct PackageInfoNote {Show 17 fields
pub analyzed: Option<bool>,
pub attribution: Option<String>,
pub checksum: Option<String>,
pub copyright: Option<String>,
pub detailed_description: Option<String>,
pub download_location: Option<String>,
pub external_refs: Option<Vec<ExternalRef>>,
pub files_license_info: Option<Vec<String>>,
pub home_page: Option<String>,
pub license_declared: Option<License>,
pub originator: Option<String>,
pub package_type: Option<String>,
pub summary_description: Option<String>,
pub supplier: Option<String>,
pub title: Option<String>,
pub verification_code: Option<String>,
pub version: Option<String>,
}
Expand description
PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/
This type is not used in any activity, and only used as part of another schema.
Fields§
§analyzed: Option<bool>
Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
attribution: Option<String>
A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
checksum: Option<String>
Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
copyright: Option<String>
Identify the copyright holders of the package, as well as any dates present
detailed_description: Option<String>
A more detailed description of the package
download_location: Option<String>
This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
external_refs: Option<Vec<ExternalRef>>
ExternalRef
files_license_info: Option<Vec<String>>
Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
home_page: Option<String>
Provide a place for the SPDX file creator to record a web site that serves as the package’s home page
license_declared: Option<License>
List the licenses that have been declared by the authors of the package
originator: Option<String>
If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
package_type: Option<String>
The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
summary_description: Option<String>
A short description of the package
supplier: Option<String>
Identify the actual distribution source for the package/directory identified in the SPDX file
title: Option<String>
Identify the full name of the package as given by the Package Originator
verification_code: Option<String>
This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
version: Option<String>
Identify the version of the package
Trait Implementations§
Source§impl Clone for PackageInfoNote
impl Clone for PackageInfoNote
Source§fn clone(&self) -> PackageInfoNote
fn clone(&self) -> PackageInfoNote
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PackageInfoNote
impl Debug for PackageInfoNote
Source§impl Default for PackageInfoNote
impl Default for PackageInfoNote
Source§fn default() -> PackageInfoNote
fn default() -> PackageInfoNote
Source§impl<'de> Deserialize<'de> for PackageInfoNote
impl<'de> Deserialize<'de> for PackageInfoNote
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>,
Source§impl Serialize for PackageInfoNote
impl Serialize for PackageInfoNote
impl Part for PackageInfoNote
Auto Trait Implementations§
impl Freeze for PackageInfoNote
impl RefUnwindSafe for PackageInfoNote
impl Send for PackageInfoNote
impl Sync for PackageInfoNote
impl Unpin for PackageInfoNote
impl UnwindSafe for PackageInfoNote
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more