pub struct TypingIndicatorRequest {
pub channel_id: u64,
pub channel_type: u8,
pub is_typing: bool,
pub action_type: TypingActionType,
}Expand description
输入状态通知请求
Fields§
§channel_id: u64会话ID
channel_type: u8会话类型(1=私聊, 2=群聊)
is_typing: bool是否正在输入
action_type: TypingActionType输入动作类型
Trait Implementations§
Source§impl Clone for TypingIndicatorRequest
impl Clone for TypingIndicatorRequest
Source§fn clone(&self) -> TypingIndicatorRequest
fn clone(&self) -> TypingIndicatorRequest
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 TypingIndicatorRequest
impl Debug for TypingIndicatorRequest
Source§impl<'de> Deserialize<'de> for TypingIndicatorRequest
impl<'de> Deserialize<'de> for TypingIndicatorRequest
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 TypingIndicatorRequest
impl RefUnwindSafe for TypingIndicatorRequest
impl Send for TypingIndicatorRequest
impl Sync for TypingIndicatorRequest
impl Unpin for TypingIndicatorRequest
impl UnsafeUnpin for TypingIndicatorRequest
impl UnwindSafe for TypingIndicatorRequest
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