pub struct SoftwarePackage {
pub name: Option<String>,
pub version: Option<String>,
pub cpe: Option<String>,
pub created: Option<DateTime<Utc>>,
pub custom_properties: HashMap<String, Value>,
}Fields§
§name: Option<String>§version: Option<String>§cpe: Option<String>§created: Option<DateTime<Utc>>§custom_properties: HashMap<String, Value>Implementations§
Source§impl SoftwarePackage
impl SoftwarePackage
pub fn builder() -> SoftwarePackageBuilder
Trait Implementations§
Source§impl Clone for SoftwarePackage
impl Clone for SoftwarePackage
Source§fn clone(&self) -> SoftwarePackage
fn clone(&self) -> SoftwarePackage
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 SoftwarePackage
impl Debug for SoftwarePackage
Source§impl<'de> Deserialize<'de> for SoftwarePackage
impl<'de> Deserialize<'de> for SoftwarePackage
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 From<SoftwarePackage> for StixObjectEnum
impl From<SoftwarePackage> for StixObjectEnum
Source§fn from(s: SoftwarePackage) -> Self
fn from(s: SoftwarePackage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SoftwarePackage
impl PartialEq for SoftwarePackage
Source§impl Serialize for SoftwarePackage
impl Serialize for SoftwarePackage
impl Eq for SoftwarePackage
impl StructuralPartialEq for SoftwarePackage
Auto Trait Implementations§
impl Freeze for SoftwarePackage
impl RefUnwindSafe for SoftwarePackage
impl Send for SoftwarePackage
impl Sync for SoftwarePackage
impl Unpin for SoftwarePackage
impl UnwindSafe for SoftwarePackage
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