pub struct TimelineEvent {
pub scan_id: ScanId,
pub at_ms: u64,
pub site: String,
pub url: String,
pub kind: TimelineEventKind,
pub before: Option<MatchKind>,
pub after: Option<MatchKind>,
pub evidence_change: Option<EvidenceChange>,
}Expand description
One lifecycle event for a profile across scans.
Fields§
§scan_id: ScanIdScan id where the event was observed.
at_ms: u64Scan start timestamp.
site: StringSite name.
url: StringBest URL known for the site at this point in the timeline.
kind: TimelineEventKindEvent category.
before: Option<MatchKind>Previous verdict, when known.
after: Option<MatchKind>Current verdict, when the current scan mentioned the site.
evidence_change: Option<EvidenceChange>Evidence transition for TimelineEventKind::EvidenceChanged.
Trait Implementations§
Source§impl Clone for TimelineEvent
impl Clone for TimelineEvent
Source§fn clone(&self) -> TimelineEvent
fn clone(&self) -> TimelineEvent
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 TimelineEvent
impl Debug for TimelineEvent
Source§impl<'de> Deserialize<'de> for TimelineEvent
impl<'de> Deserialize<'de> for TimelineEvent
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
Auto Trait Implementations§
impl Freeze for TimelineEvent
impl RefUnwindSafe for TimelineEvent
impl Send for TimelineEvent
impl Sync for TimelineEvent
impl Unpin for TimelineEvent
impl UnsafeUnpin for TimelineEvent
impl UnwindSafe for TimelineEvent
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