pub struct MessageDiagnostic {
pub total_messages: usize,
pub messages_without_chat: usize,
pub messages_in_multiple_chats: usize,
pub recoverable_messages: Option<usize>,
pub first_message_date: Option<i64>,
pub last_message_date: Option<i64>,
}Expand description
Diagnostic data for the message table.
Fields§
§total_messages: usizeTotal messages in the table.
messages_without_chat: usizeMessages not associated with any chat.
messages_in_multiple_chats: usizeMessages that belong to more than one chat.
recoverable_messages: Option<usize>Recently deleted messages that are still recoverable.
first_message_date: Option<i64>Raw date value of the earliest message.
last_message_date: Option<i64>Raw date value of the most recent message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MessageDiagnostic
impl RefUnwindSafe for MessageDiagnostic
impl Send for MessageDiagnostic
impl Sync for MessageDiagnostic
impl Unpin for MessageDiagnostic
impl UnsafeUnpin for MessageDiagnostic
impl UnwindSafe for MessageDiagnostic
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