pub enum NotificationGroupType {
Messages,
Mentions,
SecretChat,
Calls,
}
Variants§
Messages
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages
Mentions
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message
SecretChat
A group containing a notification of type notificationTypeNewSecretChat
Calls
A group containing notifications of type notificationTypeNewCall
Trait Implementations§
Source§impl Clone for NotificationGroupType
impl Clone for NotificationGroupType
Source§fn clone(&self) -> NotificationGroupType
fn clone(&self) -> NotificationGroupType
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 NotificationGroupType
impl Debug for NotificationGroupType
Source§impl<'de> Deserialize<'de> for NotificationGroupType
impl<'de> Deserialize<'de> for NotificationGroupType
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
Source§impl PartialEq for NotificationGroupType
impl PartialEq for NotificationGroupType
Source§impl Serialize for NotificationGroupType
impl Serialize for NotificationGroupType
impl StructuralPartialEq for NotificationGroupType
Auto Trait Implementations§
impl Freeze for NotificationGroupType
impl RefUnwindSafe for NotificationGroupType
impl Send for NotificationGroupType
impl Sync for NotificationGroupType
impl Unpin for NotificationGroupType
impl UnwindSafe for NotificationGroupType
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