As per spec only the next_batch token is required in a sync response. This patch makes all of them optional and creates default values when parsing a response. Serialization is skipped for all of them if they are empty containers.
ruma-client-api
ruma-client-api contains serializable types for the requests and responses for each endpoint in the Matrix client API specification. These types can be shared by client and server code.
Minimum Rust version
ruma-client-api requires Rust 1.40.0 or later.
Contributing
See CONTRIBUTING.md.
Languages
Rust
100%