12 Commits

Author SHA1 Message Date
Jonas Platte
355b462431
events-macros: Make methods on Copy type take self by value 2021-04-13 13:17:09 +02:00
Jonas Platte
1878e8aae0
Replace some turbofishes with type annotations 2021-04-05 13:13:28 +02:00
Jonas Platte
e7f55ea2c6
Rewrap comments 2020-11-27 18:22:18 +01:00
Jonas Platte
b7e15efe43
events: Support attributes on items in event_enum! 2020-11-24 03:25:02 +01:00
Jonas Platte
578f6c8925
Replace r0::room::create_room::InitialStateEvent with ruma_events::InitialStateEvent 2020-08-17 23:36:00 +02:00
Jonas Platte
1fbf05d71f
Fix some bad formatting 2020-08-08 21:52:58 +02:00
Jonas Platte
1862d15365
Remove glob imports of C-like enums 2020-07-26 17:13:08 +02:00
Devin Ragotzy
4be63127f7
Add into_full_event and From<> impls to convert between sync and full events 2020-07-24 14:45:38 +02:00
Devin R
56ff7c05e9 Remove the Ident from EventKind and impl Display for both enums 2020-07-23 15:01:12 +02:00
Devin R
2e1e63671d Turn long matches! into is_redacted EventKindVariation method 2020-07-23 15:01:12 +02:00
Devin R
a39c0106d4 Generate EventKind/Variation pair from Event derive input 2020-07-23 15:01:12 +02:00
Devin R
4b9fdcb189 Use EventKind/Variation in the Event derive macro
Move the event parsing into it's own mod to be shared by event.rs.
2020-07-23 15:01:12 +02:00