ruma-events
Overview
- There is a hierarchy of event traits:
Event
>RoomEvent
>StateEvent
- There is a Rust type for each kind of event (each allowed value for the 'type' field of the json representation), including custom [room / state] events
- There is also a content type for each event type
- In addition, there are "special" event types:
- the
Event
,RoomEvent
andStateEvent
enums fromcollections::all
contain every event type