pub struct MessagesSnapshotEvent {
pub base: BaseEvent,
pub messages: Vec<Message>,
}Expand description
Event containing a complete snapshot of all messages.
This event is sent to provide the full message history to the client.
Fields§
§base: BaseEventCommon event fields (timestamp, rawEvent).
messages: Vec<Message>Complete list of messages.
Implementations§
Trait Implementations§
Source§impl Clone for MessagesSnapshotEvent
impl Clone for MessagesSnapshotEvent
Source§fn clone(&self) -> MessagesSnapshotEvent
fn clone(&self) -> MessagesSnapshotEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessagesSnapshotEvent
impl Debug for MessagesSnapshotEvent
Source§impl Default for MessagesSnapshotEvent
impl Default for MessagesSnapshotEvent
Source§impl<'de> Deserialize<'de> for MessagesSnapshotEvent
impl<'de> Deserialize<'de> for MessagesSnapshotEvent
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
Source§impl PartialEq for MessagesSnapshotEvent
impl PartialEq for MessagesSnapshotEvent
Source§impl Serialize for MessagesSnapshotEvent
impl Serialize for MessagesSnapshotEvent
impl StructuralPartialEq for MessagesSnapshotEvent
Auto Trait Implementations§
impl Freeze for MessagesSnapshotEvent
impl RefUnwindSafe for MessagesSnapshotEvent
impl Send for MessagesSnapshotEvent
impl Sync for MessagesSnapshotEvent
impl Unpin for MessagesSnapshotEvent
impl UnsafeUnpin for MessagesSnapshotEvent
impl UnwindSafe for MessagesSnapshotEvent
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