pub struct MessageRecord {
pub id: String,
pub body: String,
pub body_truncated: bool,
pub state: MessageState,
pub created_ms: u64,
pub reply: Option<MessageReply>,
}Fields§
§id: StringThe durable message id.
body: StringThe message text.
body_truncated: boolWhether the bounded public view shortened Self::body.
state: MessageStateDelivery state.
created_ms: u64Milliseconds since the Unix epoch when the message was accepted.
reply: Option<MessageReply>The correlated reply, when the task produced one.
Trait Implementations§
Source§impl Clone for MessageRecord
impl Clone for MessageRecord
Source§impl Debug for MessageRecord
impl Debug for MessageRecord
Source§impl<'de> Deserialize<'de> for MessageRecord
impl<'de> Deserialize<'de> for MessageRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MessageRecord
Source§impl PartialEq for MessageRecord
impl PartialEq for MessageRecord
Source§impl Serialize for MessageRecord
impl Serialize for MessageRecord
impl StructuralPartialEq for MessageRecord
Auto Trait Implementations§
impl Freeze for MessageRecord
impl RefUnwindSafe for MessageRecord
impl Send for MessageRecord
impl Sync for MessageRecord
impl Unpin for MessageRecord
impl UnsafeUnpin for MessageRecord
impl UnwindSafe for MessageRecord
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