pub struct ChatEventForumTopicPinned {
pub old_topic_info: Option<ForumTopicInfo>,
pub new_topic_info: Option<ForumTopicInfo>,
}
Expand description
A pinned forum topic was changed
Fields§
§old_topic_info: Option<ForumTopicInfo>
Information about the old pinned topic; may be null
new_topic_info: Option<ForumTopicInfo>
Information about the new pinned topic; may be null
Trait Implementations§
Source§impl Clone for ChatEventForumTopicPinned
impl Clone for ChatEventForumTopicPinned
Source§fn clone(&self) -> ChatEventForumTopicPinned
fn clone(&self) -> ChatEventForumTopicPinned
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 ChatEventForumTopicPinned
impl Debug for ChatEventForumTopicPinned
Source§impl<'de> Deserialize<'de> for ChatEventForumTopicPinned
impl<'de> Deserialize<'de> for ChatEventForumTopicPinned
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
impl StructuralPartialEq for ChatEventForumTopicPinned
Auto Trait Implementations§
impl Freeze for ChatEventForumTopicPinned
impl RefUnwindSafe for ChatEventForumTopicPinned
impl Send for ChatEventForumTopicPinned
impl Sync for ChatEventForumTopicPinned
impl Unpin for ChatEventForumTopicPinned
impl UnwindSafe for ChatEventForumTopicPinned
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