#[non_exhaustive]pub struct SBOMReferenceNote {
pub format: String,
pub version: String,
/* private fields */
}Expand description
The note representing an SBOM reference.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format: StringThe format that SBOM takes. E.g. may be spdx, cyclonedx, etc…
version: StringThe version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
Implementations§
Source§impl SBOMReferenceNote
impl SBOMReferenceNote
Trait Implementations§
Source§impl Clone for SBOMReferenceNote
impl Clone for SBOMReferenceNote
Source§fn clone(&self) -> SBOMReferenceNote
fn clone(&self) -> SBOMReferenceNote
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 SBOMReferenceNote
impl Debug for SBOMReferenceNote
Source§impl Default for SBOMReferenceNote
impl Default for SBOMReferenceNote
Source§fn default() -> SBOMReferenceNote
fn default() -> SBOMReferenceNote
Returns the “default value” for a type. Read more
Source§impl Message for SBOMReferenceNote
impl Message for SBOMReferenceNote
Source§impl PartialEq for SBOMReferenceNote
impl PartialEq for SBOMReferenceNote
impl StructuralPartialEq for SBOMReferenceNote
Auto Trait Implementations§
impl Freeze for SBOMReferenceNote
impl RefUnwindSafe for SBOMReferenceNote
impl Send for SBOMReferenceNote
impl Sync for SBOMReferenceNote
impl Unpin for SBOMReferenceNote
impl UnsafeUnpin for SBOMReferenceNote
impl UnwindSafe for SBOMReferenceNote
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