pub enum Typing {
No,
Yes(Duration),
}
Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
only.Expand description
A mark for whether the user is typing within a length of time or not.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Typing
impl<'de> Deserialize<'de> for Typing
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Typing, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Typing, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Typing
impl Serialize for Typing
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Typing
Auto Trait Implementations§
impl Freeze for Typing
impl RefUnwindSafe for Typing
impl Send for Typing
impl Sync for Typing
impl Unpin for Typing
impl UnwindSafe for Typing
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