[][src]Crate ruma_events_macros

Crate ruma_events_macros provides a procedural macro for generating ruma-events events.

See the documentation for the ruma_event! macro for usage details.

Macros

ruma_event

Generates a Rust type for a Matrix event.

Derive Macros

FromRaw

Generates an implementation of ruma_events::FromRaw. Only usable inside of ruma_events. Requires there to be a raw module in the same scope, with a type with the same name and fields as the one that this macro is used on.