[][src]Crate ruma_api_macros

Crate ruma-api-macros provides a procedural macro for easily generating ruma-api-compatible endpoints.

This crate should never be used directly; instead, use it through the re-exports in ruma-api. Also note that for technical reasons, the ruma_api! macro is only documented in ruma-api, not here.

Macros

ruma_api

Derive Macros

Outgoing

Derive the Outgoing trait, possibly generating an 'Incoming' version of the struct this derive macro is used on. Specifically, if no #[wrap_incoming] attribute is used on any of the fields of the struct, this simple implementation will be generated: