Damir Jelić 7d80a7f23d sync_events: Make all fields in the response optional except next_batch.
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.
2020-05-05 15:31:24 +02:00
2016-09-29 06:01:20 -07:00
2020-05-05 00:16:43 +02:00
2020-05-05 00:16:48 +02:00
2016-09-29 06:01:20 -07:00

ruma-client-api

crates.io page docs.rs page build status license: MIT

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.

Description
No description provided
Readme MIT 14 MiB
Languages
Rust 100%