pub struct UpdateChatIsMarkedAsUnread {
pub chat_id: i64,
pub is_marked_as_unread: bool,
}Expand description
A chat was marked as unread or was read
Fields§
§chat_id: i64Chat identifier
is_marked_as_unread: boolNew value of is_marked_as_unread
Trait Implementations§
Source§impl Clone for UpdateChatIsMarkedAsUnread
impl Clone for UpdateChatIsMarkedAsUnread
Source§fn clone(&self) -> UpdateChatIsMarkedAsUnread
fn clone(&self) -> UpdateChatIsMarkedAsUnread
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 UpdateChatIsMarkedAsUnread
impl Debug for UpdateChatIsMarkedAsUnread
Source§impl<'de> Deserialize<'de> for UpdateChatIsMarkedAsUnread
impl<'de> Deserialize<'de> for UpdateChatIsMarkedAsUnread
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 UpdateChatIsMarkedAsUnread
impl RefUnwindSafe for UpdateChatIsMarkedAsUnread
impl Send for UpdateChatIsMarkedAsUnread
impl Sync for UpdateChatIsMarkedAsUnread
impl Unpin for UpdateChatIsMarkedAsUnread
impl UnwindSafe for UpdateChatIsMarkedAsUnread
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