Trait ruma_events::StateEvent
source · pub trait StateEvent: RoomEvent {
fn prev_content(&self) -> Option<&Self::Content>;
fn state_key(&self) -> &str;
}
Expand description
An event that describes persistent state about a room.
Required Methods
sourcefn prev_content(&self) -> Option<&Self::Content>
fn prev_content(&self) -> Option<&Self::Content>
The previous content for this state key, if any.