pub struct FieldData {
pub delivery_vectors: Option<Vec<String>>,
pub first_seen: Option<DateTime<Utc>>,
pub last_seen: Option<DateTime<Utc>>,
}Expand description
Field data associated with a malware instance or family
Captures temporal information and delivery vectors. At least one field must be present.
Fields§
§delivery_vectors: Option<Vec<String>>Vectors used to distribute/deploy the malware
first_seen: Option<DateTime<Utc>>When the malware was first observed (ISO 8601 format)
last_seen: Option<DateTime<Utc>>When the malware was last observed (ISO 8601 format)
Implementations§
Source§impl FieldData
impl FieldData
Sourcepub fn builder() -> FieldDataBuilder
pub fn builder() -> FieldDataBuilder
Creates a new FieldData builder
Sourcepub fn with_delivery_vectors(vectors: Vec<String>) -> Self
pub fn with_delivery_vectors(vectors: Vec<String>) -> Self
Creates FieldData with just delivery vectors
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldData
impl<'de> Deserialize<'de> for FieldData
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 Eq for FieldData
impl StructuralPartialEq for FieldData
Auto Trait Implementations§
impl Freeze for FieldData
impl RefUnwindSafe for FieldData
impl Send for FieldData
impl Sync for FieldData
impl Unpin for FieldData
impl UnwindSafe for FieldData
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