pub struct UpdateUserChatAction {
pub chat_id: i64,
pub user_id: i32,
pub action: ChatAction,
}
Expand description
User activity in the chat has changed
Fields§
§chat_id: i64
Chat identifier
user_id: i32
Identifier of a user performing an action
action: ChatAction
The action description
Trait Implementations§
Source§impl Clone for UpdateUserChatAction
impl Clone for UpdateUserChatAction
Source§fn clone(&self) -> UpdateUserChatAction
fn clone(&self) -> UpdateUserChatAction
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 UpdateUserChatAction
impl Debug for UpdateUserChatAction
Source§impl<'de> Deserialize<'de> for UpdateUserChatAction
impl<'de> Deserialize<'de> for UpdateUserChatAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateUserChatAction
impl RefUnwindSafe for UpdateUserChatAction
impl Send for UpdateUserChatAction
impl Sync for UpdateUserChatAction
impl Unpin for UpdateUserChatAction
impl UnwindSafe for UpdateUserChatAction
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