pub struct IndexedMessage {
pub id: u64,
pub channel_id: u64,
pub sender: String,
pub content: String,
pub timestamp: u64,
pub message_type: String,
}Expand description
An indexed message record for fast lookup.
Fields§
§id: u64§channel_id: u64§sender: String§content: String§timestamp: u64§message_type: StringTrait Implementations§
Source§impl Clone for IndexedMessage
impl Clone for IndexedMessage
Source§fn clone(&self) -> IndexedMessage
fn clone(&self) -> IndexedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndexedMessage
impl RefUnwindSafe for IndexedMessage
impl Send for IndexedMessage
impl Sync for IndexedMessage
impl Unpin for IndexedMessage
impl UnsafeUnpin for IndexedMessage
impl UnwindSafe for IndexedMessage
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