pub struct RelationshipOccurrence {
pub comment: Option<String>,
pub source: Option<String>,
pub target: Option<String>,
pub type_: Option<String>,
}Expand description
RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/
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 relationship
source: Option<String>Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
target: Option<String>Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are “known unknowns”, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
type_: Option<String>Output only. The type of relationship between the source and target SPDX elements
Trait Implementations§
Source§impl Clone for RelationshipOccurrence
impl Clone for RelationshipOccurrence
Source§fn clone(&self) -> RelationshipOccurrence
fn clone(&self) -> RelationshipOccurrence
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more