pub struct PackageInfoOccurrence {
pub comment: Option<String>,
pub filename: Option<String>,
pub home_page: Option<String>,
pub id: Option<String>,
pub license_concluded: Option<License>,
pub package_type: Option<String>,
pub source_info: Option<String>,
pub summary_description: Option<String>,
pub title: Option<String>,
pub version: Option<String>,
}
Expand description
PackageInfoOccurrence 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§
§comment: Option<String>
A place for the SPDX file creator to record any general comments about the package being described
filename: Option<String>
Provide the actual file name of the package, or path of the directory being treated as a package
home_page: Option<String>
Output only. Provide a place for the SPDX file creator to record a web site that serves as the package’s home page
id: Option<String>
Uniquely identify any element in an SPDX document which may be referenced by other elements
license_concluded: Option<License>
package or alternative values, if the governing license cannot be determined
package_type: Option<String>
Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
source_info: Option<String>
Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
summary_description: Option<String>
Output only. A short description of the package
title: Option<String>
Output only. Identify the full name of the package as given by the Package Originator
version: Option<String>
Output only. Identify the version of the package
Trait Implementations§
Source§impl Clone for PackageInfoOccurrence
impl Clone for PackageInfoOccurrence
Source§fn clone(&self) -> PackageInfoOccurrence
fn clone(&self) -> PackageInfoOccurrence
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PackageInfoOccurrence
impl Debug for PackageInfoOccurrence
Source§impl Default for PackageInfoOccurrence
impl Default for PackageInfoOccurrence
Source§fn default() -> PackageInfoOccurrence
fn default() -> PackageInfoOccurrence
Source§impl<'de> Deserialize<'de> for PackageInfoOccurrence
impl<'de> Deserialize<'de> for PackageInfoOccurrence
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 PackageInfoOccurrence
impl Serialize for PackageInfoOccurrence
impl Part for PackageInfoOccurrence
Auto Trait Implementations§
impl Freeze for PackageInfoOccurrence
impl RefUnwindSafe for PackageInfoOccurrence
impl Send for PackageInfoOccurrence
impl Sync for PackageInfoOccurrence
impl Unpin for PackageInfoOccurrence
impl UnwindSafe for PackageInfoOccurrence
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