Crate ruma_identifiers
source · [−]Expand description
Types for Matrix identifiers for devices, events, keys, rooms, servers, users and URIs.
Modules
Matrix URIs.
Matrix user identifiers.
Macros
Shorthand for <&DeviceId>::from
.
Compile-time checked DeviceKeyId
construction.
Compile-time checked EventId
construction.
Compile-time checked MxcUri
construction.
Compile-time checked RoomAliasId
construction.
Compile-time checked RoomId
construction.
Compile-time checked RoomVersionId
construction.
Compile-time checked ServerName
construction.
Compile-time checked ServerSigningKeyId
construction.
Compile-time checked UserId
construction.
Structs
A client secret.
A Matrix key ID.
A key algorithm and a device id, combined with a ‘:’.
A Matrix event ID.
A key algorithm and key name delimited by a colon.
A Matrix key identifier.
The matrix.to
URI representation of a user, room or event.
A Matrix room alias ID.
A Matrix room ID.
The name of a room.
A Matrix room ID or a Matrix room alias ID.
A Matrix-spec compliant server name.
A session ID.
Map of all signatures, grouped by entity
A Matrix transaction ID.
A Matrix user ID.
Enums
The basic key algorithms in the specification.
An error encountered when trying to parse an invalid ID string.
An encryption algorithm to be used to encrypt messages sent to a room.
A Matrix room version ID.
The signing key algorithms defined in the Matrix spec.
Type Definitions
Map of device signatures for an event, grouped by user.
Algorithm + key name for device keys.
Map of key identifier to signature values.
Map of server signatures for an event, grouped by server.
Algorithm + key name for homeserver signing keys.
Algorithm + key name for signing keys.