pub struct Message {
pub id: MessageId,
pub conversation_id: ConversationId,
pub origin: MessageOrigin,
pub from_participant: ParticipantId,
pub to: MessageRecipients,
pub direction: Direction,
pub content_type: ContentType,
pub body: Bytes,
pub attachments: Vec<Attachment>,
pub in_reply_to: Option<MessageId>,
pub timestamp: DateTime<Utc>,
}Fields§
§id: MessageId§conversation_id: ConversationId§origin: MessageOrigin§from_participant: ParticipantId§to: MessageRecipients§direction: Direction§content_type: ContentType§body: Bytes§attachments: Vec<Attachment>§in_reply_to: Option<MessageId>§timestamp: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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