jacquardSnapshot

← snapshot

688 bytes
//! Introductions: the registry's entire output.

use jac_core::{IntroductionId, OrgId, Timestamp};

/// A brokered introduction between two organisations.
///
/// This is everything the registry produces when work overlaps: a token and
/// two names. No content, no contact details, no transcript — the registry
/// notices resemblance and steps aside; the conversation is the humans'.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Introduction {
    /// The shared token both parties receive.
    pub token: IntroductionId,
    /// The two organisations being introduced.
    pub parties: (OrgId, OrgId),
    /// When the introduction was brokered.
    pub at: Timestamp,
}