Struct deltachat::receive_imf::ReceivedMsg
source · pub struct ReceivedMsg {
pub chat_id: ChatId,
pub state: MessageState,
pub sort_timestamp: i64,
pub msg_ids: Vec<MsgId>,
pub needs_delete_job: bool,
}
Expand description
This is the struct that is returned after receiving one email (aka MIME message).
One email with multiple attachments can end up as multiple chat messages, but they all have the same chat_id, state and sort_timestamp.
Fields§
§chat_id: ChatId
Chat the message is assigned to.
state: MessageState
Received message state.
sort_timestamp: i64
Message timestamp for sorting.
msg_ids: Vec<MsgId>
IDs of inserted rows in messages table.
needs_delete_job: bool
Whether IMAP messages should be immediately deleted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReceivedMsg
impl RefUnwindSafe for ReceivedMsg
impl Send for ReceivedMsg
impl Sync for ReceivedMsg
impl Unpin for ReceivedMsg
impl UnwindSafe for ReceivedMsg
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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