pub struct MessageDiagnostic {
pub total_messages: usize,
pub messages_without_chat: usize,
pub messages_in_multiple_chats: usize,
pub recoverable_messages: usize,
pub first_message_date: Option<i64>,
pub last_message_date: Option<i64>,
}Expand description
Diagnostic data for the message table
Fields§
§total_messages: usizeThe total number of messages in the table
messages_without_chat: usizeThe number of messages not associated with any chat
messages_in_multiple_chats: usizeThe number of messages that belong to more than one chat
recoverable_messages: usizeThe number of recently deleted messages that are still recoverable
first_message_date: Option<i64>The raw date value of the earliest message, or None if the table is empty
last_message_date: Option<i64>The raw date value of the most recent message, or None if the table is empty
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