pub struct Observation {
pub objects: Vec<StixObject>,
pub first_observed: Option<String>,
pub last_observed: Option<String>,
pub number_observed: u64,
}Expand description
A set of objects observed together. Each STIX observed-data SDO maps to one
Observation; match_scos treats a flat list as a single observation.
Fields§
§objects: Vec<StixObject>The objects observed together.
first_observed: Option<String>The start of the observation window (RFC3339 timestamp), if known.
last_observed: Option<String>The end of the observation window (RFC3339 timestamp), if known.
number_observed: u64How many times the contents were observed.
Implementations§
Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§fn clone(&self) -> Observation
fn clone(&self) -> Observation
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for Observation
impl !UnwindSafe for Observation
impl Freeze for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
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