pub struct UpdatePinnedForumTopic {
pub pinned: bool,
pub peer: Peer,
pub topic_id: i32,
}Expand description
Read updatePinnedForumTopic docs.
Generated from the following TL definition:
updatePinnedForumTopic#683b2c52 flags:# pinned:flags.0?true peer:Peer topic_id:int = UpdateFields§
§pinned: bool§peer: Peer§topic_id: i32Trait Implementations§
Source§impl Clone for UpdatePinnedForumTopic
impl Clone for UpdatePinnedForumTopic
Source§fn clone(&self) -> UpdatePinnedForumTopic
fn clone(&self) -> UpdatePinnedForumTopic
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 UpdatePinnedForumTopic
impl Debug for UpdatePinnedForumTopic
Source§impl From<UpdatePinnedForumTopic> for Update
impl From<UpdatePinnedForumTopic> for Update
Source§fn from(x: UpdatePinnedForumTopic) -> Self
fn from(x: UpdatePinnedForumTopic) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdatePinnedForumTopic
impl Identifiable for UpdatePinnedForumTopic
Source§const CONSTRUCTOR_ID: u32 = 1748708434
const CONSTRUCTOR_ID: u32 = 1748708434
The unique identifier for the type.
Source§impl PartialEq for UpdatePinnedForumTopic
impl PartialEq for UpdatePinnedForumTopic
Source§impl TryFrom<Update> for UpdatePinnedForumTopic
impl TryFrom<Update> for UpdatePinnedForumTopic
impl StructuralPartialEq for UpdatePinnedForumTopic
Auto Trait Implementations§
impl Freeze for UpdatePinnedForumTopic
impl RefUnwindSafe for UpdatePinnedForumTopic
impl Send for UpdatePinnedForumTopic
impl Sync for UpdatePinnedForumTopic
impl Unpin for UpdatePinnedForumTopic
impl UnsafeUnpin for UpdatePinnedForumTopic
impl UnwindSafe for UpdatePinnedForumTopic
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