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