pub struct FullProductName {
pub name: String,
pub product_id: String,
pub cpe: Option<String>,
pub purl: Option<String>,
}Expand description
A full product name definition.
Fields§
§name: StringHuman-readable product name.
product_id: StringUnique product identifier within this document.
cpe: Option<String>CPE identifier.
purl: Option<String>PURL identifier.
Trait Implementations§
Source§impl Clone for FullProductName
impl Clone for FullProductName
Source§fn clone(&self) -> FullProductName
fn clone(&self) -> FullProductName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FullProductName
impl Debug for FullProductName
Source§impl<'de> Deserialize<'de> for FullProductName
impl<'de> Deserialize<'de> for FullProductName
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
Source§impl PartialEq for FullProductName
impl PartialEq for FullProductName
Source§fn eq(&self, other: &FullProductName) -> bool
fn eq(&self, other: &FullProductName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FullProductName
impl Serialize for FullProductName
impl Eq for FullProductName
impl StructuralPartialEq for FullProductName
Auto Trait Implementations§
impl Freeze for FullProductName
impl RefUnwindSafe for FullProductName
impl Send for FullProductName
impl Sync for FullProductName
impl Unpin for FullProductName
impl UnsafeUnpin for FullProductName
impl UnwindSafe for FullProductName
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