Module jid

Module jid 

Source

Structs§

Jid
JidRef
ParsedJidParts
Intermediate result from fast JID parsing. This avoids allocations by returning byte indices into the original string.

Enums§

JidError

Constants§

BOT_SERVER
BROADCAST_SERVER
DEFAULT_USER_SERVER
GROUP_SERVER
HIDDEN_USER_SERVER
HOSTED_LID_SERVER
HOSTED_SERVER
INTEROP_SERVER
LEGACY_USER_SERVER
MESSENGER_SERVER
NEWSLETTER_SERVER
SERVER_JID
STATUS_BROADCAST_USER

Traits§

JidExt

Functions§

parse_jid_fast
Single-pass JID parser optimized for hot paths. Scans the input string once to find all relevant separators (@, :) and returns slices into the original string without allocation.

Type Aliases§

MessageId
MessageServerId