pub struct SetChatNotificationSettings {
pub chat_id: i64,
pub notification_settings: ChatNotificationSettings,
}
Expand description
Changes the notification settings of a chat
Fields§
§chat_id: i64
Chat identifier
notification_settings: ChatNotificationSettings
New notification settings for the chat
Trait Implementations§
Source§impl Clone for SetChatNotificationSettings
impl Clone for SetChatNotificationSettings
Source§fn clone(&self) -> SetChatNotificationSettings
fn clone(&self) -> SetChatNotificationSettings
Returns a duplicate 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<'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
Source§impl Method for SetChatNotificationSettings
impl Method for SetChatNotificationSettings
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