Enum rust_tdlib::types::NotificationGroupType [−][src]
pub enum NotificationGroupType {
Calls(NotificationGroupTypeCalls),
Mentions(NotificationGroupTypeMentions),
Messages(NotificationGroupTypeMessages),
SecretChat(NotificationGroupTypeSecretChat),
// some variants omitted
}Expand description
Describes the type of notifications in a notification group
Variants
Calls(NotificationGroupTypeCalls)A group containing notifications of type notificationTypeNewCall
Mentions(NotificationGroupTypeMentions)A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message
Messages(NotificationGroupTypeMessages)A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages
SecretChat(NotificationGroupTypeSecretChat)A group containing a notification of type notificationTypeNewSecretChat
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NotificationGroupTypeimpl Send for NotificationGroupTypeimpl Sync for NotificationGroupTypeimpl Unpin for NotificationGroupTypeimpl UnwindSafe for NotificationGroupTypeBlanket Implementations
Mutably borrows from an owned value. Read more