[−][src]Crate ruma_identifiers
Crate ruma_identifiers contains types for Matrix identifiers for events, rooms, room aliases, room versions, and users.
Re-exports
pub use device_id::DeviceId; |
Modules
device_id | Matrix device identifiers. |
device_key_id | Identifiers for device keys for end-to-end encryption. |
event_id | Matrix event identifiers. |
key_algorithms | Key algorithms used in Matrix spec. |
room_alias_id | Matrix room alias identifiers. |
room_id | Matrix room identifiers. |
room_id_or_room_alias_id | Matrix identifiers for places where a room ID or room alias ID are used interchangeably. |
room_version_id | Matrix room version identifiers. |
server_key_id | Identifiers for homeserver signing keys used for federation. |
server_name | Matrix-spec compliant server names. |
user_id | Matrix user identifiers. |
Enums
Error | An error encountered when trying to parse an invalid ID string. |
Functions
is_valid_server_name | Deprecated Check whether a given string is a valid server name according to the specification. |
Type Definitions
DeviceIdRef | A reference to a device ID. |
DeviceKeyAlgorithm | Allowed algorithms for homeserver signing keys. |
DeviceKeyId | An owned device key identifier containing a key algorithm and device ID. |
DeviceKeyIdRef | A reference to a device key identifier containing a key algorithm and device ID. |
EventId | An owned event ID. |
EventIdRef | A reference to an event ID. |
RoomAliasId | An owned room alias ID. |
RoomAliasIdRef | A reference to a room alias ID. |
RoomId | An owned room ID. |
RoomIdOrAliasId | An owned room alias ID or room ID. |
RoomIdOrAliasIdRef | A reference to a room alias ID or room ID. |
RoomIdRef | A reference to a room ID. |
RoomVersionId | An owned room version ID. |
RoomVersionIdRef | A reference to a room version ID. |
ServerKeyAlgorithm | Allowed algorithms for homeserver signing keys. |
ServerKeyId | An owned homeserver signing key identifier containing a key algorithm and version. |
ServerKeyIdRef | A reference to a homeserver signing key identifier containing a key algorithm and version. |
ServerName | An owned homeserver IP address or hostname. |
ServerNameRef | A reference to a homeserver IP address or hostname. |
UserId | An owned user ID. |
UserIdRef | A reference to a user ID. |