Enum TypingNow
zaun_client::TypingNow · Enum
pub enum TypingNow { … }Who else is typing in a channel, as the host last said. This client is never among them.
Variants
Section titled “Variants”Named { member_ids }
Section titled “Named { member_ids }”A named channel: the members typing.
Anonymous { count }
Section titled “Anonymous { count }”An anonymous channel: how many, never who. 3 means “three or more”.
Methods
Section titled “Methods”from_signal
Section titled “from_signal”pub fn from_signal(s: &TypingSignal) -> Option<Self>The state a signal.typing event describes; None when it names nobody.
pub fn count(&self) -> usizeHow many are typing (for an anonymous channel, 3 means “three or more”).
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, PartialEq, Serialize, StructuralPartialEq