Enum channel2::ChannelChatEvent
source · pub enum ChannelChatEvent {
MessagesUpdated {
old_range: Range<usize>,
new_count: usize,
},
NewMessage {
channel_id: ChannelId,
message_id: u64,
},
}
Variants§
Trait Implementations§
source§impl Clone for ChannelChatEvent
impl Clone for ChannelChatEvent
source§fn clone(&self) -> ChannelChatEvent
fn clone(&self) -> ChannelChatEvent
Returns a copy 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 ChannelChatEvent
impl Debug for ChannelChatEvent
source§impl PartialEq<ChannelChatEvent> for ChannelChatEvent
impl PartialEq<ChannelChatEvent> for ChannelChatEvent
source§fn eq(&self, other: &ChannelChatEvent) -> bool
fn eq(&self, other: &ChannelChatEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl EventEmitter<ChannelChatEvent> for ChannelChat
impl StructuralPartialEq for ChannelChatEvent
Auto Trait Implementations§
impl RefUnwindSafe for ChannelChatEvent
impl Send for ChannelChatEvent
impl Sync for ChannelChatEvent
impl Unpin for ChannelChatEvent
impl UnwindSafe for ChannelChatEvent
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