pub struct DependencyGraphSpdxSbomSbom {
pub spdxid: String,
pub spdx_version: String,
pub creation_info: Box<DependencyGraphSpdxSbomSbomCreationInfo>,
pub name: String,
pub data_license: String,
pub document_describes: Vec<String>,
pub document_namespace: String,
pub packages: Vec<DependencyGraphSpdxSbomSbomPackagesInner>,
}Fields§
§spdxid: StringThe SPDX identifier for the SPDX document.
spdx_version: StringThe version of the SPDX specification that this document conforms to.
creation_info: Box<DependencyGraphSpdxSbomSbomCreationInfo>§name: StringThe name of the SPDX document.
data_license: StringThe license under which the SPDX document is licensed.
document_describes: Vec<String>The name of the repository that the SPDX document describes.
document_namespace: StringThe namespace for the SPDX document.
packages: Vec<DependencyGraphSpdxSbomSbomPackagesInner>Implementations§
Source§impl DependencyGraphSpdxSbomSbom
impl DependencyGraphSpdxSbomSbom
pub fn new( spdxid: String, spdx_version: String, creation_info: DependencyGraphSpdxSbomSbomCreationInfo, name: String, data_license: String, document_describes: Vec<String>, document_namespace: String, packages: Vec<DependencyGraphSpdxSbomSbomPackagesInner>, ) -> DependencyGraphSpdxSbomSbom
Trait Implementations§
Source§impl Clone for DependencyGraphSpdxSbomSbom
impl Clone for DependencyGraphSpdxSbomSbom
Source§fn clone(&self) -> DependencyGraphSpdxSbomSbom
fn clone(&self) -> DependencyGraphSpdxSbomSbom
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DependencyGraphSpdxSbomSbom
impl Debug for DependencyGraphSpdxSbomSbom
Source§impl Default for DependencyGraphSpdxSbomSbom
impl Default for DependencyGraphSpdxSbomSbom
Source§fn default() -> DependencyGraphSpdxSbomSbom
fn default() -> DependencyGraphSpdxSbomSbom
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependencyGraphSpdxSbomSbom
impl<'de> Deserialize<'de> for DependencyGraphSpdxSbomSbom
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DependencyGraphSpdxSbomSbom
Auto Trait Implementations§
impl Freeze for DependencyGraphSpdxSbomSbom
impl RefUnwindSafe for DependencyGraphSpdxSbomSbom
impl Send for DependencyGraphSpdxSbomSbom
impl Sync for DependencyGraphSpdxSbomSbom
impl Unpin for DependencyGraphSpdxSbomSbom
impl UnwindSafe for DependencyGraphSpdxSbomSbom
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
Mutably borrows from an owned value. Read more