pub struct SetChatNotificationSettings { /* private fields */ }
Expand description
Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can’t be changed
Implementations§
Trait Implementations§
Source§impl AsRef<SetChatNotificationSettings> for SetChatNotificationSettings
impl AsRef<SetChatNotificationSettings> for SetChatNotificationSettings
Source§fn as_ref(&self) -> &SetChatNotificationSettings
fn as_ref(&self) -> &SetChatNotificationSettings
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetChatNotificationSettings
impl Clone for SetChatNotificationSettings
Source§fn clone(&self) -> SetChatNotificationSettings
fn clone(&self) -> SetChatNotificationSettings
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 SetChatNotificationSettings
impl Debug for SetChatNotificationSettings
Source§impl Default for SetChatNotificationSettings
impl Default for SetChatNotificationSettings
Source§fn default() -> SetChatNotificationSettings
fn default() -> SetChatNotificationSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetChatNotificationSettings
impl<'de> Deserialize<'de> for SetChatNotificationSettings
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
Auto Trait Implementations§
impl Freeze for SetChatNotificationSettings
impl RefUnwindSafe for SetChatNotificationSettings
impl Send for SetChatNotificationSettings
impl Sync for SetChatNotificationSettings
impl Unpin for SetChatNotificationSettings
impl UnwindSafe for SetChatNotificationSettings
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