Struct cyclonedx_rust::component::Component[][src]

pub struct Component {
    pub component_type: Classification,
    pub mime_type: Option<String>,
    pub bom_ref: Option<String>,
    pub supplier: Option<OrganizationalEntity>,
    pub author: Option<String>,
    pub publisher: Option<String>,
    pub group: Option<String>,
    pub name: Option<String>,
    pub version: Option<String>,
    pub description: Option<String>,
    pub scope: Option<Scope>,
    pub hashes: Vec<HashType>,
    pub licenses: Vec<Licenses>,
    pub copyright: Option<String>,
    pub purl: Option<String>,
    pub swid: Option<SwidType>,
    pub modified: Option<bool>,
    pub pedigree: Option<PedigreeType>,
    pub external_references: Vec<ExternalReference>,
    pub components: Vec<Component>,
}

Fields

component_type: Classificationmime_type: Option<String>bom_ref: Option<String>supplier: Option<OrganizationalEntity>author: Option<String>publisher: Option<String>group: Option<String>name: Option<String>version: Option<String>description: Option<String>scope: Option<Scope>hashes: Vec<HashType>licenses: Vec<Licenses>copyright: Option<String>purl: Option<String>swid: Option<SwidType>modified: Option<bool>pedigree: Option<PedigreeType>external_references: Vec<ExternalReference>components: Vec<Component>

Trait Implementations

impl Clone for Component[src]

impl Debug for Component[src]

impl<'de> Deserialize<'de> for Component[src]

impl PartialEq<Component> for Component[src]

impl Serialize for Component[src]

impl StructuralPartialEq for Component[src]

impl YaDeserialize for Component[src]

impl YaSerialize for Component[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.