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)
Expand description
A group containing notifications of type notificationTypeNewCall
Mentions(NotificationGroupTypeMentions)
Expand description
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)
Expand description
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages
SecretChat(NotificationGroupTypeSecretChat)
Expand description
A group containing a notification of type notificationTypeNewSecretChat
Implementations
Trait Implementations
impl AsRef<NotificationGroupType> for NotificationGroupType
[src]
impl AsRef<NotificationGroupType> for NotificationGroupType
[src]fn as_ref(&self) -> &NotificationGroupType
[src]
fn as_ref(&self) -> &NotificationGroupType
[src]Performs the conversion.
impl Clone for NotificationGroupType
[src]
impl Clone for NotificationGroupType
[src]fn clone(&self) -> NotificationGroupType
[src]
fn clone(&self) -> NotificationGroupType
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for NotificationGroupType
[src]
impl Debug for NotificationGroupType
[src]impl Default for NotificationGroupType
[src]
impl Default for NotificationGroupType
[src]impl<'de> Deserialize<'de> for NotificationGroupType
[src]
impl<'de> Deserialize<'de> for NotificationGroupType
[src]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
impl Serialize for NotificationGroupType
[src]
impl Serialize for NotificationGroupType
[src]Auto Trait Implementations
impl RefUnwindSafe for NotificationGroupType
impl Send for NotificationGroupType
impl Sync for NotificationGroupType
impl Unpin for NotificationGroupType
impl UnwindSafe for NotificationGroupType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,