pub struct UpdateChatDefaultDisableNotification {
pub chat_id: i64,
pub default_disable_notification: bool,
}
Expand description
The value of the default disable_notification parameter, used when a message is sent to the chat, was changed
Fields§
§chat_id: i64
Chat identifier
default_disable_notification: bool
The new default_disable_notification value
Trait Implementations§
Source§impl Clone for UpdateChatDefaultDisableNotification
impl Clone for UpdateChatDefaultDisableNotification
Source§fn clone(&self) -> UpdateChatDefaultDisableNotification
fn clone(&self) -> UpdateChatDefaultDisableNotification
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 Default for UpdateChatDefaultDisableNotification
impl Default for UpdateChatDefaultDisableNotification
Source§fn default() -> UpdateChatDefaultDisableNotification
fn default() -> UpdateChatDefaultDisableNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateChatDefaultDisableNotification
impl<'de> Deserialize<'de> for UpdateChatDefaultDisableNotification
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 PartialEq for UpdateChatDefaultDisableNotification
impl PartialEq for UpdateChatDefaultDisableNotification
Source§fn eq(&self, other: &UpdateChatDefaultDisableNotification) -> bool
fn eq(&self, other: &UpdateChatDefaultDisableNotification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateChatDefaultDisableNotification
Auto Trait Implementations§
impl Freeze for UpdateChatDefaultDisableNotification
impl RefUnwindSafe for UpdateChatDefaultDisableNotification
impl Send for UpdateChatDefaultDisableNotification
impl Sync for UpdateChatDefaultDisableNotification
impl Unpin for UpdateChatDefaultDisableNotification
impl UnwindSafe for UpdateChatDefaultDisableNotification
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