[−][src]Trait ruma_events::RoomEvent
An event within the context of a room.
Required methods
fn event_id(&self) -> &EventId
The unique identifier for the event.
fn origin_server_ts(&self) -> u64
Timestamp in milliseconds on originating homeserver when this event was sent.
fn room_id(&self) -> Option<&RoomId>
The unique identifier for the room associated with this event.
This can be None
if the event came from a context where there is
no ambiguity which room it belongs to, like a /sync
response for example.
fn sender(&self) -> &UserId
The unique identifier for the user who sent this event.
fn unsigned(&self) -> Option<&Value>
Additional key-value pairs not signed by the homeserver.