Trait ruma_events::RoomEvent [] [src]

pub trait RoomEvent: Event {
    fn event_id(&self) -> &EventId;
    fn room_id(&self) -> &RoomId;
    fn unsigned(&self) -> Option<&Value>;
    fn user_id(&self) -> &UserId;
}

An event within the context of a room.

Required Methods

The unique identifier for the event.

The unique identifier for the room associated with this event.

Additional key-value pairs not signed by the homeserver.

The unique identifier for the user associated with this event.

Implementors