pub enum NoticeType {
GroupUpload,
GroupAdmin,
GroupDecrease,
GroupIncrease,
GroupBan,
FriendAdd,
GroupRecall,
FriendRecall,
Notify,
Unknown(String),
}Variants§
GroupUpload
GroupAdmin
GroupDecrease
GroupIncrease
GroupBan
FriendAdd
GroupRecall
FriendRecall
Notify
Unknown(String)
Trait Implementations§
Source§impl Clone for NoticeType
impl Clone for NoticeType
Source§fn clone(&self) -> NoticeType
fn clone(&self) -> NoticeType
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 NoticeType
impl Debug for NoticeType
Source§impl<'de> Deserialize<'de> for NoticeType
impl<'de> Deserialize<'de> for NoticeType
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 NoticeType
impl RefUnwindSafe for NoticeType
impl Send for NoticeType
impl Sync for NoticeType
impl Unpin for NoticeType
impl UnwindSafe for NoticeType
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