pub struct PulledMessage<M>where
M: DeserializeOwned,{
pub ack_id: String,
pub message: Result<M, Error>,
pub attributes: Option<HashMap<String, String>>,
pub id: String,
pub publish_time: OffsetDateTime,
pub ordering_key: Option<String>,
pub delivery_attempt: u32,
}
Fields§
§ack_id: String
§message: Result<M, Error>
§attributes: Option<HashMap<String, String>>
§id: String
§publish_time: OffsetDateTime
§ordering_key: Option<String>
§delivery_attempt: u32
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for PulledMessage<M>where
M: Freeze,
impl<M> !RefUnwindSafe for PulledMessage<M>
impl<M> Send for PulledMessage<M>where
M: Send,
impl<M> Sync for PulledMessage<M>where
M: Sync,
impl<M> Unpin for PulledMessage<M>where
M: Unpin,
impl<M> !UnwindSafe for PulledMessage<M>
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