Enum rust_tdlib::types::NotificationType [−][src]
pub enum NotificationType { NewCall(NotificationTypeNewCall), NewMessage(NotificationTypeNewMessage), NewPushMessage(NotificationTypeNewPushMessage), NewSecretChat(NotificationTypeNewSecretChat), // some variants omitted }
Expand description
Contains detailed information about a notification
Variants
NewCall(NotificationTypeNewCall)
New call was received
NewMessage(NotificationTypeNewMessage)
New message was received
NewPushMessage(NotificationTypeNewPushMessage)
New message was received through a push notification
NewSecretChat(NotificationTypeNewSecretChat)
New secret chat was created
Implementations
Trait Implementations
Performs the conversion.
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 RefUnwindSafe for NotificationType
impl Send for NotificationType
impl Sync for NotificationType
impl Unpin for NotificationType
impl UnwindSafe for NotificationType
Blanket Implementations
Mutably borrows from an owned value. Read more