15 Commits

Author SHA1 Message Date
Jimmy Cuadra
f57a1aec48 Derive Clone for basically everything. Close #3." 2016-10-16 16:20:25 -07:00
Jimmy Cuadra
8392852741 Convert Event, RoomEvent and StateEvent into traits. 2016-10-02 03:46:16 -07:00
Jimmy Cuadra
f3acdfd141 Reintroduce macro for enum Display and FromStr impls. 2016-10-01 04:25:45 -07:00
Jimmy Cuadra
2eb07f5abd Use Serde annotations instead of manual implementation for enums. 2016-08-03 23:43:08 -07:00
Jimmy Cuadra
1e1079a904 Extract enum serialization into a macro. 2016-07-30 11:50:58 -07:00
Jimmy Cuadra
d11ef217a2 Factor the custom Serde Visitor out into a generic type. 2016-07-29 17:37:08 -07:00
Jimmy Cuadra
b016a0b48b Implement Serialize and Deserialize for SessionDescriptionType. 2016-07-29 16:26:23 -07:00
Jimmy Cuadra
070a6fe633 Add second generic parameter to events and add missing docs. 2016-07-02 03:33:10 -07:00
Jimmy Cuadra
68265a9387 Revert the package name to ruma-events. 2016-06-21 21:29:43 -07:00
Jimmy Cuadra
dd1a3979e6 Rename package to ruma-common and namespace event types. 2016-06-20 22:47:51 -07:00
Jimmy Cuadra
09ecdfa470 Derive Debug and {De,}Serialize for all types. 2016-06-04 03:09:32 -07:00
Jimmy Cuadra
d525766c99 Make all fields public. 2016-06-04 02:57:24 -07:00
Jimmy Cuadra
fd03a1e162 Make all fields owned values and remove event traits. 2016-06-04 02:49:24 -07:00
Jimmy Cuadra
0270e84a1d Return an EventType from Event::event_type. 2015-11-30 00:05:53 -08:00
Jimmy Cuadra
787f4d0af2 Move each event into its own module. 2015-11-29 23:38:23 -08:00