pub struct UpdateTopicMessageCount {
pub chat_id: i64,
pub topic_id: MessageTopic,
pub message_count: i32,
}Expand description
Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only
Fields§
§chat_id: i64Identifier of the chat in topic of which the number of messages has changed
topic_id: MessageTopicIdentifier of the topic
message_count: i32Approximate number of messages in the topic
Trait Implementations§
Source§impl Clone for UpdateTopicMessageCount
impl Clone for UpdateTopicMessageCount
Source§fn clone(&self) -> UpdateTopicMessageCount
fn clone(&self) -> UpdateTopicMessageCount
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 UpdateTopicMessageCount
impl Debug for UpdateTopicMessageCount
Source§impl<'de> Deserialize<'de> for UpdateTopicMessageCount
impl<'de> Deserialize<'de> for UpdateTopicMessageCount
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 UpdateTopicMessageCount
impl PartialEq for UpdateTopicMessageCount
Source§impl Serialize for UpdateTopicMessageCount
impl Serialize for UpdateTopicMessageCount
impl StructuralPartialEq for UpdateTopicMessageCount
Auto Trait Implementations§
impl Freeze for UpdateTopicMessageCount
impl RefUnwindSafe for UpdateTopicMessageCount
impl Send for UpdateTopicMessageCount
impl Sync for UpdateTopicMessageCount
impl Unpin for UpdateTopicMessageCount
impl UnsafeUnpin for UpdateTopicMessageCount
impl UnwindSafe for UpdateTopicMessageCount
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