pub struct NotifyForumTopic {
pub peer: Peer,
pub top_msg_id: i32,
}Expand description
Fields§
§peer: Peer§top_msg_id: i32Trait Implementations§
Source§impl Clone for NotifyForumTopic
impl Clone for NotifyForumTopic
Source§fn clone(&self) -> NotifyForumTopic
fn clone(&self) -> NotifyForumTopic
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 NotifyForumTopic
impl Debug for NotifyForumTopic
Source§impl Deserializable for NotifyForumTopic
impl Deserializable for NotifyForumTopic
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<NotifyForumTopic> for NotifyPeer
impl From<NotifyForumTopic> for NotifyPeer
Source§fn from(x: NotifyForumTopic) -> Self
fn from(x: NotifyForumTopic) -> Self
Converts to this type from the input type.
Source§impl Identifiable for NotifyForumTopic
impl Identifiable for NotifyForumTopic
Source§const CONSTRUCTOR_ID: u32 = 0x226e6308
const CONSTRUCTOR_ID: u32 = 0x226e6308
The constructor ID as specified in the TL schema.
Source§impl PartialEq for NotifyForumTopic
impl PartialEq for NotifyForumTopic
Source§impl Serializable for NotifyForumTopic
impl Serializable for NotifyForumTopic
Source§impl TryFrom<NotifyPeer> for NotifyForumTopic
impl TryFrom<NotifyPeer> for NotifyForumTopic
Source§type Error = NotifyPeer
type Error = NotifyPeer
The type returned in the event of a conversion error.
impl StructuralPartialEq for NotifyForumTopic
Auto Trait Implementations§
impl Freeze for NotifyForumTopic
impl RefUnwindSafe for NotifyForumTopic
impl Send for NotifyForumTopic
impl Sync for NotifyForumTopic
impl Unpin for NotifyForumTopic
impl UnsafeUnpin for NotifyForumTopic
impl UnwindSafe for NotifyForumTopic
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