pub enum InputNotifyPeer {
InputNotifyPeer(InputNotifyPeer),
InputNotifyUsers,
InputNotifyChats,
InputNotifyBroadcasts,
InputNotifyForumTopic(InputNotifyForumTopic),
}Expand description
Variants§
InputNotifyPeer(InputNotifyPeer)
InputNotifyUsers
InputNotifyChats
InputNotifyBroadcasts
InputNotifyForumTopic(InputNotifyForumTopic)
Trait Implementations§
Source§impl Clone for InputNotifyPeer
impl Clone for InputNotifyPeer
Source§fn clone(&self) -> InputNotifyPeer
fn clone(&self) -> InputNotifyPeer
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 InputNotifyPeer
impl Debug for InputNotifyPeer
Source§impl Deserializable for InputNotifyPeer
impl Deserializable for InputNotifyPeer
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<InputNotifyBroadcasts> for InputNotifyPeer
impl From<InputNotifyBroadcasts> for InputNotifyPeer
Source§fn from(_x: InputNotifyBroadcasts) -> Self
fn from(_x: InputNotifyBroadcasts) -> Self
Converts to this type from the input type.
Source§impl From<InputNotifyChats> for InputNotifyPeer
impl From<InputNotifyChats> for InputNotifyPeer
Source§fn from(_x: InputNotifyChats) -> Self
fn from(_x: InputNotifyChats) -> Self
Converts to this type from the input type.
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 From<InputNotifyPeer> for InputNotifyPeer
impl From<InputNotifyPeer> for InputNotifyPeer
Source§fn from(x: InputNotifyPeer) -> Self
fn from(x: InputNotifyPeer) -> Self
Converts to this type from the input type.
Source§impl From<InputNotifyUsers> for InputNotifyPeer
impl From<InputNotifyUsers> for InputNotifyPeer
Source§fn from(_x: InputNotifyUsers) -> Self
fn from(_x: InputNotifyUsers) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputNotifyPeer
impl PartialEq for InputNotifyPeer
Source§impl Serializable for InputNotifyPeer
impl Serializable for InputNotifyPeer
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.
Source§impl TryFrom<InputNotifyPeer> for InputNotifyPeer
impl TryFrom<InputNotifyPeer> for InputNotifyPeer
Source§type Error = InputNotifyPeer
type Error = InputNotifyPeer
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputNotifyPeer
Auto Trait Implementations§
impl Freeze for InputNotifyPeer
impl RefUnwindSafe for InputNotifyPeer
impl Send for InputNotifyPeer
impl Sync for InputNotifyPeer
impl Unpin for InputNotifyPeer
impl UnsafeUnpin for InputNotifyPeer
impl UnwindSafe for InputNotifyPeer
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