[][src]Trait ruma_events::StateEvent

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

fn prev_content(&self) -> Option<&Self::Content>

The previous content for this state key, if any.

fn state_key(&self) -> &str

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

Loading content...

Implementors

impl StateEvent for CustomStateEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for AliasesEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for AvatarEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for CanonicalAliasEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for CreateEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for EncryptionEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for GuestAccessEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for HistoryVisibilityEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for JoinRulesEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for MemberEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for NameEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for PinnedEventsEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for PowerLevelsEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for ServerAclEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for ThirdPartyInviteEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for TombstoneEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

impl StateEvent for TopicEvent[src]

fn prev_content(&self) -> Option<&Self::Content>[src]

The previous content for this state key, if any.

fn state_key(&self) -> &str[src]

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

Loading content...