pub enum Notice {
GroupUpload(GroupUpload),
GroupAdmin(GroupAdmin),
GroupDecrease(GroupDecrease),
GroupIncrease(GroupIncrease),
GroupBan(GroupBan),
FriendAdd(FriendAdd),
GroupRecall(GroupRecall),
FriendRecall(FriendRecall),
Notify {
data: HashMap<String, Value>,
},
}Variants§
GroupUpload(GroupUpload)
GroupAdmin(GroupAdmin)
GroupDecrease(GroupDecrease)
GroupIncrease(GroupIncrease)
GroupBan(GroupBan)
FriendAdd(FriendAdd)
GroupRecall(GroupRecall)
FriendRecall(FriendRecall)
Notify
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Notice
impl<'de> Deserialize<'de> for Notice
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 Notice
impl RefUnwindSafe for Notice
impl Send for Notice
impl Sync for Notice
impl Unpin for Notice
impl UnwindSafe for Notice
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