pub struct FileOccurrence {
pub attributions: Option<Vec<String>>,
pub comment: Option<String>,
pub contributors: Option<Vec<String>>,
pub copyright: Option<String>,
pub files_license_info: Option<Vec<String>>,
pub id: Option<String>,
pub license_concluded: Option<License>,
pub notice: Option<String>,
}Expand description
FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/
This type is not used in any activity, and only used as part of another schema.
Fields§
§attributions: Option<Vec<String>>This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
comment: Option<String>This field provides a place for the SPDX file creator to record any general comments about the file
contributors: Option<Vec<String>>This field provides a place for the SPDX file creator to record file contributors
copyright: Option<String>Identify the copyright holder of the file, as well as any dates present
files_license_info: Option<Vec<String>>This field contains the license information actually found in the file, if any
id: Option<String>Uniquely identify any element in an SPDX document which may be referenced by other elements
license_concluded: Option<License>This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
notice: Option<String>This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
Trait Implementations§
Source§impl Clone for FileOccurrence
impl Clone for FileOccurrence
Source§fn clone(&self) -> FileOccurrence
fn clone(&self) -> FileOccurrence
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more