pub struct UpdateChannelUserTyping {
pub channel_id: i64,
pub top_msg_id: Option<i32>,
pub from_id: Peer,
pub action: SendMessageAction,
}Expand description
Generated from:
updateChannelUserTyping#8c88c923 flags:# channel_id:long top_msg_id:flags.0?int from_id:Peer action:SendMessageAction = UpdateFields§
§channel_id: i64§top_msg_id: Option<i32>§from_id: Peer§action: SendMessageActionTrait Implementations§
Source§impl Clone for UpdateChannelUserTyping
impl Clone for UpdateChannelUserTyping
Source§fn clone(&self) -> UpdateChannelUserTyping
fn clone(&self) -> UpdateChannelUserTyping
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 UpdateChannelUserTyping
impl Debug for UpdateChannelUserTyping
Source§impl Deserializable for UpdateChannelUserTyping
impl Deserializable for UpdateChannelUserTyping
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<UpdateChannelUserTyping> for Update
impl From<UpdateChannelUserTyping> for Update
Source§fn from(x: UpdateChannelUserTyping) -> Self
fn from(x: UpdateChannelUserTyping) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChannelUserTyping
impl Identifiable for UpdateChannelUserTyping
Source§const CONSTRUCTOR_ID: u32 = 0x8c88c923
const CONSTRUCTOR_ID: u32 = 0x8c88c923
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChannelUserTyping
impl PartialEq for UpdateChannelUserTyping
Source§impl TryFrom<Update> for UpdateChannelUserTyping
impl TryFrom<Update> for UpdateChannelUserTyping
impl StructuralPartialEq for UpdateChannelUserTyping
Auto Trait Implementations§
impl Freeze for UpdateChannelUserTyping
impl RefUnwindSafe for UpdateChannelUserTyping
impl Send for UpdateChannelUserTyping
impl Sync for UpdateChannelUserTyping
impl Unpin for UpdateChannelUserTyping
impl UnsafeUnpin for UpdateChannelUserTyping
impl UnwindSafe for UpdateChannelUserTyping
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