Expand description
Collection of methods related to the Matrix specification.
Re-exportsยง
pub use self::media_message::MediaFileError;
pub use self::media_message::MediaMessage;
pub use self::media_message::VisualMediaMessage;
Modulesยง
- media_
message ๐
Structsยง
- A URI for a Matrix event ID.
- A URI for a Matrix room ID.
- The result of a password validation.
Enumsยง
- An deserialized event received in a sync response.
- All errors that can occur when setting up the Matrix client.
- A URI for a Matrix ID.
- Errors encountered when parsing a Matrix ID URI.
Constantsยง
- The textual representation of a room mention.
Traitsยง
- Helper trait for types possibly containing an
@room
mention.
Functionsยง
- Find mentions in the given child nodes and append them to the given list.
- Whether the given
char
is a word boundary, according to the Matrix spec. - Create a
Client
with the given stored session. - Find
@room
in the given string. - Find mentions in the given HTML string.
- Extract the body from the given event.
- Extract the body from the given message event.
- Extract the body from the given state event.
- node_
as_ ๐mention Try to convert the given node to a mention. - Compare two raw JSON sources.
- text_
event_ ๐body - Validate a password according to the Matrix specification.