mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 06:46:35 +03:00
Add more documentation
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
//! Internet Message Format reception pipeline.
|
||||
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use std::cmp::min;
|
||||
use std::collections::HashSet;
|
||||
use std::convert::TryFrom;
|
||||
@@ -48,8 +46,13 @@ use crate::{contact, imap};
|
||||
/// all have the same chat_id, state and sort_timestamp.
|
||||
#[derive(Debug)]
|
||||
pub struct ReceivedMsg {
|
||||
/// Chat the message is assigned to.
|
||||
pub chat_id: ChatId,
|
||||
|
||||
/// Received message state.
|
||||
pub state: MessageState,
|
||||
|
||||
/// Message timestamp for sorting.
|
||||
pub sort_timestamp: i64,
|
||||
|
||||
/// IDs of inserted rows in messages table.
|
||||
|
||||
Reference in New Issue
Block a user