pub struct InboxMessageIndex {
pub inbox_id: String,
pub messages: Vec<MessageRef>,
pub last_updated: SystemTime,
}
Expand description
Message index for efficient inbox querying
Fields§
§inbox_id: String
§messages: Vec<MessageRef>
§last_updated: SystemTime
Trait Implementations§
Source§impl Clone for InboxMessageIndex
impl Clone for InboxMessageIndex
Source§fn clone(&self) -> InboxMessageIndex
fn clone(&self) -> InboxMessageIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InboxMessageIndex
impl Debug for InboxMessageIndex
Source§impl<'de> Deserialize<'de> for InboxMessageIndex
impl<'de> Deserialize<'de> for InboxMessageIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InboxMessageIndex
impl RefUnwindSafe for InboxMessageIndex
impl Send for InboxMessageIndex
impl Sync for InboxMessageIndex
impl Unpin for InboxMessageIndex
impl UnwindSafe for InboxMessageIndex
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