pub struct InputNotifyForumTopic {
pub peer: InputPeer,
pub top_msg_id: i32,
}Expand description
Generated from:
inputNotifyForumTopic#5c467992 peer:InputPeer top_msg_id:int = InputNotifyPeerFields§
§peer: InputPeer§top_msg_id: i32Trait Implementations§
Source§impl Clone for InputNotifyForumTopic
impl Clone for InputNotifyForumTopic
Source§fn clone(&self) -> InputNotifyForumTopic
fn clone(&self) -> InputNotifyForumTopic
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 InputNotifyForumTopic
impl Debug for InputNotifyForumTopic
Source§impl Deserializable for InputNotifyForumTopic
impl Deserializable for InputNotifyForumTopic
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<InputNotifyForumTopic> for InputNotifyPeer
impl From<InputNotifyForumTopic> for InputNotifyPeer
Source§fn from(x: InputNotifyForumTopic) -> Self
fn from(x: InputNotifyForumTopic) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputNotifyForumTopic
impl Identifiable for InputNotifyForumTopic
Source§const CONSTRUCTOR_ID: u32 = 0x5c467992
const CONSTRUCTOR_ID: u32 = 0x5c467992
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputNotifyForumTopic
impl PartialEq for InputNotifyForumTopic
Source§impl Serializable for InputNotifyForumTopic
impl Serializable for InputNotifyForumTopic
Source§impl TryFrom<InputNotifyPeer> for InputNotifyForumTopic
impl TryFrom<InputNotifyPeer> for InputNotifyForumTopic
Source§type Error = InputNotifyPeer
type Error = InputNotifyPeer
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputNotifyForumTopic
Auto Trait Implementations§
impl Freeze for InputNotifyForumTopic
impl RefUnwindSafe for InputNotifyForumTopic
impl Send for InputNotifyForumTopic
impl Sync for InputNotifyForumTopic
impl Unpin for InputNotifyForumTopic
impl UnsafeUnpin for InputNotifyForumTopic
impl UnwindSafe for InputNotifyForumTopic
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