pub struct InboundEvent {
pub company_id: Uuid,
pub connector_id: Uuid,
pub event_type: String,
pub external_id: String,
pub business_key: String,
pub raw: String,
pub payload: Value,
}Expand description
An inbound provider event (already parsed into payload).
Fields§
§company_id: UuidLegacy tenancy twin (ADR-0029): the module’s own tables carry no company column, but the
event routes to two still-company-shaped edges — the TargetPort request to the target
module and the outbox/event payloads (the cross-tenant relay keys on it). An unknown or
stale value fails closed at those edges, never inside this module.
connector_id: Uuid§event_type: String§external_id: StringThe provider’s raw notification id — audit only (NOT the dedup key; it varies per notification).
business_key: StringThe BUSINESS action identity (order/transaction ref + terminal state, e.g. “SO-9:settled”) — the dedup key, stable across the multiple notifications a provider sends per order.
raw: String§payload: ValueAuto Trait Implementations§
impl Freeze for InboundEvent
impl RefUnwindSafe for InboundEvent
impl Send for InboundEvent
impl Sync for InboundEvent
impl Unpin for InboundEvent
impl UnsafeUnpin for InboundEvent
impl UnwindSafe for InboundEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more