Trait ruma_events::StateEvent [] [src]

pub trait StateEvent: RoomEvent {
    fn prev_content(&self) -> Option<&Self::Content>;
    fn state_key(&self) -> &str;
}

An event that describes persistent state about a room.

Required Methods

The previous content for this state key, if any.

A key that determines which piece of room state the event represents.

Implementors