Struct tdlib_types::methods::SendChatAction
source · 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
sourceimpl Clone for SendChatAction
impl Clone for SendChatAction
sourcefn clone(&self) -> SendChatAction
fn clone(&self) -> SendChatAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SendChatAction
impl Debug for SendChatAction
sourceimpl<'de> Deserialize<'de> for SendChatAction
impl<'de> Deserialize<'de> for SendChatAction
sourcefn 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
sourceimpl Method for SendChatAction
impl Method for SendChatAction
sourceimpl Serialize for SendChatAction
impl Serialize for SendChatAction
Auto Trait Implementations
impl RefUnwindSafe for SendChatAction
impl Send for SendChatAction
impl Sync for SendChatAction
impl Unpin for SendChatAction
impl UnwindSafe for SendChatAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more