[][src]Module gm_types::content

Values for the content key of an event.

These are organised by event type: events with type m.room.* are found under the room module, while events with type m.* are found under the root module.

The name of a struct in this module (and submodules) mirrors its event type, modulo case conversion. That is, m.room.join_rules would be found in content::room::JoinRules.

Modules

call

Content types for m.call.* events.

room

Content types for m.room.* events.

root

Content types for m.* events.

Enums

Content

The content of an event.

Functions

deserialize_content

Deserialize a JSON Value of given event type into some event Content.