Expand description
⚠ Deprecated: this crate has been merged into ruma-common. ⚠
Modules§
- matrix_
uri - Matrix URIs.
- user_id
- Matrix user identifiers.
Macros§
- device_
id - Shorthand for
<&DeviceId>::from. - device_
key_ id - Compile-time checked
DeviceKeyIdconstruction. - event_
id - Compile-time checked
EventIdconstruction. - mxc_uri
- Compile-time checked
MxcUriconstruction. - room_
alias_ id - Compile-time checked
RoomAliasIdconstruction. - room_id
- Compile-time checked
RoomIdconstruction. - room_
version_ id - Compile-time checked
RoomVersionIdconstruction. - server_
name - Compile-time checked
ServerNameconstruction. - server_
signing_ key_ id - Compile-time checked
ServerSigningKeyIdconstruction. - user_id
- Compile-time checked
UserIdconstruction.
Structs§
- Client
Secret - A client secret.
- Device
Id - A Matrix key ID.
- Device
KeyId - A key algorithm and a device id, combined with a ‘:’.
- EventId
- A Matrix event ID.
- KeyId
- A key algorithm and key name delimited by a colon.
- KeyName
- A Matrix key identifier.
- Matrix
ToUri - The
matrix.toURI representation of a user, room or event. - Matrix
Uri - The
matrix:URI representation of a user, room or event. - MxcUri
- A URI that should be a Matrix-spec compliant MXC URI.
- Room
Alias Id - A Matrix room alias ID.
- RoomId
- A Matrix room ID.
- Room
Name - The name of a room.
- Room
OrAlias Id - A Matrix room ID or a Matrix room alias ID.
- Server
Name - A Matrix-spec compliant server name.
- Session
Id - A session ID.
- Signatures
- Map of all signatures, grouped by entity
- Transaction
Id - A Matrix transaction ID.
- UserId
- A Matrix user ID.
Enums§
- Device
KeyAlgorithm - The basic key algorithms in the specification.
- Error
- An error encountered when trying to parse an invalid ID string.
- Event
Encryption Algorithm - An encryption algorithm to be used to encrypt messages sent to a room.
- Room
Version Id - A Matrix room version ID.
- Signing
KeyAlgorithm - The signing key algorithms defined in the Matrix spec.
Type Aliases§
- Device
Signatures - Map of device signatures for an event, grouped by user.
- Device
Signing KeyId - Algorithm + key name for device keys.
- Entity
Signatures - Map of key identifier to signature values.
- Server
Signatures - Map of server signatures for an event, grouped by server.
- Server
Signing KeyId - Algorithm + key name for homeserver signing keys.
- Signing
KeyId - Algorithm + key name for signing keys.