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
Source§impl Serialize for UpdateNotificationGroup
impl Serialize for UpdateNotificationGroup
impl TDUpdate for UpdateNotificationGroup
Auto Trait Implementations§
impl Freeze for UpdateNotificationGroup
impl RefUnwindSafe for UpdateNotificationGroup
impl Send for UpdateNotificationGroup
impl Sync for UpdateNotificationGroup
impl Unpin for UpdateNotificationGroup
impl UnwindSafe for UpdateNotificationGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more