Struct tdlib::types::NotificationGroup
source · pub struct NotificationGroup {
pub id: i32,
pub type: NotificationGroupType,
pub chat_id: i64,
pub total_count: i32,
pub notifications: Vec<Notification>,
}
Expand description
Describes a group of notifications
Fields§
§id: i32
Unique persistent auto-incremented from 1 identifier of the notification group
type: NotificationGroupType
Type of the group
chat_id: i64
Identifier of a chat to which all notifications in the group belong
total_count: i32
Total number of active notifications in the group
notifications: Vec<Notification>
The list of active notifications
Trait Implementations§
source§impl Clone for NotificationGroup
impl Clone for NotificationGroup
source§fn clone(&self) -> NotificationGroup
fn clone(&self) -> NotificationGroup
Returns a copy 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 NotificationGroup
impl Debug for NotificationGroup
source§impl<'de> Deserialize<'de> for NotificationGroup
impl<'de> Deserialize<'de> for NotificationGroup
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