pub struct PairSample {
pub subject_a: SubjectId,
pub subject_b: SubjectId,
pub source_id: Option<SourceId>,
pub at_ns: i64,
pub event_id: Option<EventId>,
}Expand description
One co-occurrence pair observation.
Fields§
§subject_a: SubjectIdFirst subject (order is normalized by miners).
subject_b: SubjectIdSecond subject.
source_id: Option<SourceId>Shared source when known.
at_ns: i64Observation time nanoseconds.
event_id: Option<EventId>Optional evidence event.
Trait Implementations§
Source§impl Clone for PairSample
impl Clone for PairSample
impl Copy for PairSample
Source§impl Debug for PairSample
impl Debug for PairSample
Source§impl PartialEq for PairSample
impl PartialEq for PairSample
impl StructuralPartialEq for PairSample
Auto Trait Implementations§
impl Freeze for PairSample
impl RefUnwindSafe for PairSample
impl Send for PairSample
impl Sync for PairSample
impl Unpin for PairSample
impl UnsafeUnpin for PairSample
impl UnwindSafe for PairSample
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