pub struct OutboundAction {
pub chat: String,
pub action: String,
pub clear: bool,
pub thread_id: Option<i64>,
}Expand description
A chat action indicator (typing and friends).
Fields§
§chat: StringChat/channel id.
action: StringAction name, e.g. typing.
clear: booltrue when the indicator was cleared early.
thread_id: Option<i64>Forum topic.
Trait Implementations§
Source§impl Clone for OutboundAction
impl Clone for OutboundAction
Source§fn clone(&self) -> OutboundAction
fn clone(&self) -> OutboundAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutboundAction
impl Debug for OutboundAction
Source§impl<'de> Deserialize<'de> for OutboundAction
impl<'de> Deserialize<'de> for OutboundAction
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 PartialEq for OutboundAction
impl PartialEq for OutboundAction
Source§impl Serialize for OutboundAction
impl Serialize for OutboundAction
impl StructuralPartialEq for OutboundAction
Auto Trait Implementations§
impl Freeze for OutboundAction
impl RefUnwindSafe for OutboundAction
impl Send for OutboundAction
impl Sync for OutboundAction
impl Unpin for OutboundAction
impl UnsafeUnpin for OutboundAction
impl UnwindSafe for OutboundAction
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