pub struct SendChatAction {
pub chat_id: i64,
pub action: ChatAction,
}
Expand description
Sends a notification about user activity in a chat
Fields§
§chat_id: i64
Chat identifier
action: ChatAction
The action description
Trait Implementations§
Source§impl Clone for SendChatAction
impl Clone for SendChatAction
Source§fn clone(&self) -> SendChatAction
fn clone(&self) -> SendChatAction
Returns a copy 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 SendChatAction
impl Debug for SendChatAction
Source§impl<'de> Deserialize<'de> for SendChatAction
impl<'de> Deserialize<'de> for SendChatAction
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
Source§impl Method for SendChatAction
impl Method for SendChatAction
Auto Trait Implementations§
impl Freeze for SendChatAction
impl RefUnwindSafe for SendChatAction
impl Send for SendChatAction
impl Sync for SendChatAction
impl Unpin for SendChatAction
impl UnwindSafe for SendChatAction
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