[−][src]Trait ruma_events::Event
A basic event.
Associated Types
type Content: Debug + for<'a> Deserialize<'a> + Serialize
The event-type-specific payload this event carries.
Required methods
fn content(&self) -> &Self::Content
The event's content.
fn event_type(&self) -> &EventType
The type of the event.