ruma_events

Module pdu

Source
Expand description

Types for persistent data unit schemas

The differences between the RoomV1Pdu schema and the RoomV3Pdu schema are that the RoomV1Pdu takes an event_id field (RoomV3Pdu does not), and auth_events and prev_events take Vec<(OwnedEventId, EventHash)> rather than Vec<OwnedEventId> in RoomV3Pdu.

Structs§

  • Content hashes of a PDU.
  • A ‘persistent data unit’ (event) for room versions 1 and 2.
  • A ‘persistent data unit’ (event) for room versions 3 and beyond.

Enums§

  • Enum for PDU schemas