10 Commits

Author SHA1 Message Date
Jonas Platte
04080085f9
events: Include all event type segments in Rust type names 2021-10-02 21:25:21 +02:00
Jonas Platte
edbd5a696c
events: Use inline code blocks instead of emphasis for type strings 2021-10-01 18:35:01 +02:00
Jonas Platte
120f1f3b2a
events: Generate event type aliases 2021-09-30 00:47:13 +02:00
Devin Ragotzy
e05aad184e events: Make all pub structs non_exhaustive 2021-06-18 20:53:06 +02:00
Jonas Platte
37899db3c5
events: Borrow raw JSON in EventContent::from_parts 2021-05-15 15:02:27 +02:00
Jonas Platte
60d4ea027f
Use serde_json::Result alias 2021-05-15 15:02:02 +02:00
Jonas Platte
c07c3fa6d5
events: Introduce RedactContent trait 2021-05-15 13:23:20 +02:00
Devin Ragotzy
8252a1a32c Move all content declarations to content trait attribute 2021-05-14 12:25:30 +02:00
Jonas Platte
698087337b
events: Pass RoomVersionId by reference in redact method 2021-05-10 11:29:28 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00