pub struct SourcePacket {Show 14 fields
pub schema: SourcePacketSchema,
pub packet_id: NonEmptyString,
pub source_ref: Reference,
pub signal_type: NonEmptyString,
pub title: NonEmptyString,
pub observed_at: IsoDateTime,
pub body_preview: Option<NonEmptyString>,
pub authenticity: Option<SignalAuthenticity>,
pub redaction_status: OperationalProposalRedactionStatus,
pub workflow_inputs: JsonObject,
pub adapter_payload: Option<JsonObject>,
pub fingerprint: Option<Fingerprint>,
pub related_refs: Vec<Reference>,
pub extensions: Option<JsonObject>,
}Fields§
§schema: SourcePacketSchema§packet_id: NonEmptyStringStable identifier for this packet. Adapters typically derive this from
source_ref plus a content hash so re-deliveries are idempotent.
source_ref: ReferenceCentral runx reference identifying the source. Provider names and locators live inside the reference; the packet itself stays provider-neutral.
signal_type: NonEmptyStringOpen signal type identifier (e.g. signal_type::ALERT,
signal_type::SUPPORT_TICKET). Adapters can publish their own
identifier without a contract edit.
title: NonEmptyString§observed_at: IsoDateTime§body_preview: Option<NonEmptyString>§authenticity: Option<SignalAuthenticity>§redaction_status: OperationalProposalRedactionStatusRedaction status applied to body_preview, workflow_inputs, and any
human-visible fields in adapter_payload.
workflow_inputs: JsonObjectTyped workflow slots that the downstream triage / action skill reads. The contract carries them as opaque JSON; the consuming skill is responsible for shape-validating its own slice.
adapter_payload: Option<JsonObject>Raw adapter payload. Optional; held for replay and audit. Must already
have any redactions applied that redaction_status declares.
fingerprint: Option<Fingerprint>Related refs the adapter wants to surface alongside the source: thread, parent issue, dedupe candidates, originating webhook delivery.
extensions: Option<JsonObject>Trait Implementations§
Source§impl Clone for SourcePacket
impl Clone for SourcePacket
Source§fn clone(&self) -> SourcePacket
fn clone(&self) -> SourcePacket
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SourcePacket
impl Debug for SourcePacket
Source§impl<'de> Deserialize<'de> for SourcePacket
impl<'de> Deserialize<'de> for SourcePacket
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>,
Source§impl PartialEq for SourcePacket
impl PartialEq for SourcePacket
Source§fn eq(&self, other: &SourcePacket) -> bool
fn eq(&self, other: &SourcePacket) -> bool
self and other values to be equal, and is used by ==.