Skip to content

Enum model::TypingMode

zaun_community_protocol::model::TypingMode · Enum

pub enum TypingMode { … }

Who sees that someone is typing in a channel (typing, the protocol). A plain JSON string, as the specification writes it.

signal.typing names the members typing (the default).

signal.typing carries only how many are typing (1, 2, or 3 for “several”), never who.

The host drops typing signals in the channel; clients do not send them.

pub const fn is_named(&self) -> bool

Whether this is the default, TypingMode::Named.

Clone, Copy, Debug, Default, Deserialize<'de>, Eq, Hash, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page