pub enum NoticeEvent {
GroupUpload {
group_id: i64,
user_id: i64,
file: GroupFile,
},
GroupAdmin {
sub_type: GroupAdminType,
group_id: i64,
user_id: i64,
},
GroupDecrease {
sub_type: GroupAdminType,
operator_id: i64,
user_id: i64,
},
GroupIncrease {
sub_type: GroupIncreaseType,
group_id: i64,
operator_id: i64,
user_id: i64,
},
GroupBan {
sub_type: GroupBanType,
group_id: i64,
operator_id: i64,
user_id: i64,
duration: i64,
},
FriendAdd {
user_id: i64,
},
GroupRecall {
group_id: i64,
user_id: i64,
operator_id: i64,
message_id: i64,
},
FriendRecall {
user_id: i64,
message_id: i64,
},
Notify {
group_id: i64,
user_id: i64,
data: NotifyType,
},
}Variants§
GroupUpload
GroupAdmin
GroupDecrease
GroupIncrease
GroupBan
FriendAdd
GroupRecall
FriendRecall
Notify
Trait Implementations§
Source§impl Clone for NoticeEvent
impl Clone for NoticeEvent
Source§fn clone(&self) -> NoticeEvent
fn clone(&self) -> NoticeEvent
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 NoticeEvent
impl Debug for NoticeEvent
Source§impl<'de> Deserialize<'de> for NoticeEvent
impl<'de> Deserialize<'de> for NoticeEvent
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 NoticeEvent
impl RefUnwindSafe for NoticeEvent
impl Send for NoticeEvent
impl Sync for NoticeEvent
impl Unpin for NoticeEvent
impl UnsafeUnpin for NoticeEvent
impl UnwindSafe for NoticeEvent
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