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
sourceimpl 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
sourceimpl AsRef<UpdateNotificationGroup> for UpdateNotificationGroup
impl AsRef<UpdateNotificationGroup> for UpdateNotificationGroup
sourcefn as_ref(&self) -> &UpdateNotificationGroup
fn as_ref(&self) -> &UpdateNotificationGroup
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UpdateNotificationGroup
impl Clone for UpdateNotificationGroup
sourcefn clone(&self) -> UpdateNotificationGroup
fn clone(&self) -> UpdateNotificationGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateNotificationGroup
impl Debug for UpdateNotificationGroup
sourceimpl Default for UpdateNotificationGroup
impl Default for UpdateNotificationGroup
sourcefn default() -> UpdateNotificationGroup
fn default() -> UpdateNotificationGroup
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateNotificationGroup
impl<'de> Deserialize<'de> for UpdateNotificationGroup
sourcefn 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
sourceimpl Serialize for UpdateNotificationGroup
impl Serialize for UpdateNotificationGroup
impl TDUpdate for UpdateNotificationGroup
Auto Trait Implementations
impl RefUnwindSafe for UpdateNotificationGroup
impl Send for UpdateNotificationGroup
impl Sync for UpdateNotificationGroup
impl Unpin for UpdateNotificationGroup
impl UnwindSafe for UpdateNotificationGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more