Expand description
Foundational type definitions and aliases used throughout the crate.
This module provides the basic building stuff for event handling,
including type aliases for common ruma types, event reference types,
and metadata structures.
Structs§
- Client
Context - Client context used when converting to client events.
- Event
Format Options - Event format options derived from room version rules.
- Event
Hash - Content hashes for a Matrix event.
- Hashed
Event Ref - An event reference with content hash (room versions 1-2).
- Verification
Metadata - Metadata recorded when attempting to verify the signature of an event.
Enums§
- Event
Refs - Event references in a room-version-specific format.
- Known
Events Reference Format Version - An alternative to
[
ruma::room_version_rules::EventsReferenceFormatVersion], including only types supported byarminius-lib-rooms - Known
Room Version Id - An alternative to [
ruma::RoomVersionId], including only types supported byarminius-lib-rooms - Parts
Verified - Describes how much of a ruma event was actually verified during a signature verification
- PduFormat
- PDU format version bucket for room version compatibility.
Constants§
- SUPPORTED_
ROOM_ VERSIONS - The room versions which are completely supported in arminius-lib-events
Type Aliases§
- State
Key - Matrix state key, part of the key of the state map