Struct rust_tdlib::types::UpdateNotificationGroup
source · pub struct UpdateNotificationGroup { /* private fields */ }
Expand description
A list of active notifications in a notification group has changed
Implementations§
source§impl UpdateNotificationGroup
impl UpdateNotificationGroup
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateNotificationGroupBuilder
pub fn notification_group_id(&self) -> i32
pub fn type_(&self) -> &NotificationGroupType
pub fn chat_id(&self) -> i64
pub fn notification_settings_chat_id(&self) -> i64
pub fn is_silent(&self) -> bool
pub fn total_count(&self) -> i32
pub fn added_notifications(&self) -> &Vec<Notification>
pub fn removed_notification_ids(&self) -> &Vec<i32>
Trait Implementations§
source§impl AsRef<UpdateNotificationGroup> for UpdateNotificationGroup
impl AsRef<UpdateNotificationGroup> for UpdateNotificationGroup
source§fn as_ref(&self) -> &UpdateNotificationGroup
fn as_ref(&self) -> &UpdateNotificationGroup
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for UpdateNotificationGroup
impl Clone for UpdateNotificationGroup
source§fn clone(&self) -> UpdateNotificationGroup
fn clone(&self) -> UpdateNotificationGroup
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 UpdateNotificationGroup
impl Debug for UpdateNotificationGroup
source§impl Default for UpdateNotificationGroup
impl Default for UpdateNotificationGroup
source§fn default() -> UpdateNotificationGroup
fn default() -> UpdateNotificationGroup
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateNotificationGroup
impl<'de> Deserialize<'de> for UpdateNotificationGroup
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