Re-exportsยง
pub use self::state_key::StateKey;pub use self::state_key::TypeStateKey;
Modulesยง
- content ๐
- filter ๐
- format ๐
- id ๐
- redact ๐
- relation ๐
- state_
key - type_
ext ๐ - unsigned ๐
Traitsยง
- Event
- Abstraction of a PDU so users can have their own PDU types.
- Matches
- Relation
Type Equal - TypeExt
- Convenience trait for adding event type plus state key to state maps.
Functionsยง
- gen_
event_ id - Generates a correct eventId for the PDU. For v1/v2 incoming PDUโs the valueโs event_id is passed through. For all outgoing PDUโs and for v3+ incoming PDUโs it is generated.
- gen_
event_ id_ canonical_ json - Generates a correct eventId for the incoming pdu.