pub enum ChatRoomEventType {
Online,
DiscussChanged,
Revoke,
Msg,
Barrager,
RedPacket,
RedPacketStatus,
Music,
Weather,
Custom,
All,
}Expand description
聊天室事件类型枚举
Variants§
Online
在线用户更新
DiscussChanged
话题修改
Revoke
消息撤回
Msg
普通消息
Barrager
弹幕消息
RedPacket
红包消息
RedPacketStatus
红包状态
Music
音乐消息
Weather
天气消息
Custom
进出场消息
All
所有事件(除了自身)
Trait Implementations§
Source§impl Clone for ChatRoomEventType
impl Clone for ChatRoomEventType
Source§fn clone(&self) -> ChatRoomEventType
fn clone(&self) -> ChatRoomEventType
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 ChatRoomEventType
impl Debug for ChatRoomEventType
Source§impl Hash for ChatRoomEventType
impl Hash for ChatRoomEventType
Source§impl PartialEq for ChatRoomEventType
impl PartialEq for ChatRoomEventType
impl Eq for ChatRoomEventType
impl StructuralPartialEq for ChatRoomEventType
Auto Trait Implementations§
impl Freeze for ChatRoomEventType
impl RefUnwindSafe for ChatRoomEventType
impl Send for ChatRoomEventType
impl Sync for ChatRoomEventType
impl Unpin for ChatRoomEventType
impl UnsafeUnpin for ChatRoomEventType
impl UnwindSafe for ChatRoomEventType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.