pub struct ReceivedMessage {
pub id: i64,
pub message_id: Option<String>,
pub source_type: String,
pub source_identifier: Option<String>,
pub status: String,
pub error_message: Option<String>,
pub received_at: String,
pub processed_at: Option<String>,
pub processed_message_id: Option<String>,
}Expand description
Output for received message listing
Fields§
§id: i64Unique ID of the received record
message_id: Option<String>Message ID extracted from the raw message (if available)
source_type: StringSource type (https, internal, websocket, return_path, pickup)
source_identifier: Option<String>Source identifier (URL, agent DID, etc.)
status: StringProcessing status (pending, processed, failed)
error_message: Option<String>Error message if processing failed
received_at: StringWhen the message was received
processed_at: Option<String>When the message was processed
processed_message_id: Option<String>ID of the processed message in messages table
Trait Implementations§
Source§impl Debug for ReceivedMessage
impl Debug for ReceivedMessage
Auto Trait Implementations§
impl Freeze for ReceivedMessage
impl RefUnwindSafe for ReceivedMessage
impl Send for ReceivedMessage
impl Sync for ReceivedMessage
impl Unpin for ReceivedMessage
impl UnsafeUnpin for ReceivedMessage
impl UnwindSafe for ReceivedMessage
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