[][src]Crate ruma_identifiers

Crate ruma_identifiers contains types for Matrix identifiers for events, rooms, room aliases, room versions, and users.

Modules

device_id

Matrix device identifiers.

user_id

Matrix user identifiers.

Structs

DeviceKeyId

A key algorithm and a device id, combined with a ':'

EventId

A Matrix event ID.

RoomAliasId

A Matrix room alias ID.

RoomId

A Matrix room ID.

RoomIdOrAliasId

A Matrix room ID or a Matrix room alias ID.

RoomVersionId

A Matrix room version ID.

ServerKeyId

Key identifiers used for homeserver signing keys.

ServerName

A Matrix-spec compliant server name.

UserId

A Matrix user ID.

Enums

DeviceKeyAlgorithm

The basic key algorithms in the specification.

Error

An error encountered when trying to parse an invalid ID string.

ServerKeyAlgorithm

The server key algorithms defined in the Matrix spec.

Functions

is_valid_server_nameDeprecated

Check whether a given string is a valid server name according to the specification.

Type Definitions

DeviceId

A Matrix device ID.