pub struct RecipientCommit {
pub note: Option<Note>,
pub recipient_actor: String,
pub binding: Value,
pub sender_agent_id: String,
pub logical_message_id: Uuid,
pub delivery_attempt_id: Uuid,
pub disposition: RecipientDisposition,
pub quarantine: Option<QuarantineRecord>,
pub in_reply_to: Option<Uuid>,
pub correlation: Option<String>,
}Expand description
Internal storage contract. Runtime supplies authenticated identity and a validated note; this structure is not a wire-ingest parameter.
Fields§
§note: Option<Note>The message note, present exactly for a stored disposition. A quarantined delivery writes no message note.
recipient_actor: StringLocal recipient actor from the trusted enrollment binding.
binding: Value§sender_agent_id: String§logical_message_id: Uuid§delivery_attempt_id: Uuid§disposition: RecipientDisposition§quarantine: Option<QuarantineRecord>§in_reply_to: Option<Uuid>§correlation: Option<String>Trait Implementations§
Source§impl Clone for RecipientCommit
impl Clone for RecipientCommit
Auto Trait Implementations§
impl Freeze for RecipientCommit
impl RefUnwindSafe for RecipientCommit
impl Send for RecipientCommit
impl Sync for RecipientCommit
impl Unpin for RecipientCommit
impl UnsafeUnpin for RecipientCommit
impl UnwindSafe for RecipientCommit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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