Home
runx-contracts

runx_contracts::source_packet

Source packet contract: normalized, redacted intake from any source loader.

Source packet contract: normalized, redacted intake from any source loader.

SourcePacket is the canonical wire shape every source adapter produces before handing off to triage / action skills. It carries provider-neutral identity (source_ref) and the typed workflow slots that downstream skills consume, plus optional raw adapter_payload for replay and audit.

Provider names and locators live inside the central refs, not top-level fields, so the same packet can be rendered through Slack, GitHub, Teams, Linear, Jira, email, or any other channel without contract changes.

Structs §

SourcePacket §

pub struct runx_contracts::source_packet::SourcePacket { /* ... */ }

Trait Implementations §

impl Borrow for SourcePacket

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for SourcePacket

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for SourcePacket

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for SourcePacket

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for SourcePacket

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for SourcePacket

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for SourcePacket

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for SourcePacket

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for SourcePacket

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for SourcePacket

Output

impl Clone for SourcePacket

clone

fn clone(self: &Self) -> SourcePacket

impl Debug for SourcePacket

impl PartialEq for SourcePacket

eq

fn eq(self: &Self, other: &SourcePacket) -> bool

impl Serialize for SourcePacket

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for SourcePacket

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl RunxSchema for SourcePacket

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for SourcePacket

impl Sync for SourcePacket

impl Freeze for SourcePacket

impl UnsafeUnpin for SourcePacket

impl Unpin for SourcePacket

impl UnwindSafe for SourcePacket

impl RefUnwindSafe for SourcePacket

impl DeserializeOwned for SourcePacket

impl StructuralPartialEq for SourcePacket

Enums §

SourcePacketSchema §

pub enum runx_contracts::source_packet::SourcePacketSchema { /* ... */ }

Trait Implementations §

impl Borrow for SourcePacketSchema

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for SourcePacketSchema

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for SourcePacketSchema

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for SourcePacketSchema

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for SourcePacketSchema

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for SourcePacketSchema

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for SourcePacketSchema

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for SourcePacketSchema

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for SourcePacketSchema

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for SourcePacketSchema

Output

impl Clone for SourcePacketSchema

clone

fn clone(self: &Self) -> SourcePacketSchema

impl Debug for SourcePacketSchema

impl PartialEq for SourcePacketSchema

eq

fn eq(self: &Self, other: &SourcePacketSchema) -> bool

impl Serialize for SourcePacketSchema

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for SourcePacketSchema

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl RunxSchema for SourcePacketSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for SourcePacketSchema

impl Sync for SourcePacketSchema

impl Freeze for SourcePacketSchema

impl UnsafeUnpin for SourcePacketSchema

impl Unpin for SourcePacketSchema

impl UnwindSafe for SourcePacketSchema

impl RefUnwindSafe for SourcePacketSchema

impl DeserializeOwned for SourcePacketSchema

impl Copy for SourcePacketSchema

impl StructuralPartialEq for SourcePacketSchema

impl Eq for SourcePacketSchema

Constants §

SOURCE_PACKET_SCHEMA §

pub const runx_contracts::source_packet::SOURCE_PACKET_SCHEMA: &str = "runx.source_packet.v1";