This allows the accept event to contain method specific content similar to how the start event accepts it.
ruma-events
ruma-events contains serializable types for the events in the Matrix specification that can be shared by client and server code.
Documentation
ruma-events has comprehensive documentation available on docs.rs.