Trait ruma_events::StateEventContent

source ·
pub trait StateEventContent: EventContent<EventType = StateEventType> {
    type StateKey: AsRef<str> + Clone + Debug + DeserializeOwned + Serialize;
}
Expand description

Content of a non-redacted state event.

Required Associated Types§

source

type StateKey: AsRef<str> + Clone + Debug + DeserializeOwned + Serialize

The type of the event’s state_key field.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl StateEventContent for CallMemberEventContent

source§

impl StateEventContent for AnyStateEventContent

source§

impl StateEventContent for BeaconInfoEventContent

source§

type StateKey = OwnedUserId

source§

impl StateEventContent for PolicyRuleRoomEventContent

source§

impl StateEventContent for PolicyRuleServerEventContent

source§

impl StateEventContent for PolicyRuleUserEventContent

source§

impl StateEventContent for RoomAliasesEventContent

source§

type StateKey = OwnedServerName

source§

impl StateEventContent for RoomAvatarEventContent

source§

impl StateEventContent for RoomCanonicalAliasEventContent

source§

impl StateEventContent for RoomCreateEventContent

source§

impl StateEventContent for RoomEncryptionEventContent

source§

impl StateEventContent for RoomGuestAccessEventContent

source§

impl StateEventContent for RoomHistoryVisibilityEventContent

source§

impl StateEventContent for RoomJoinRulesEventContent

source§

impl StateEventContent for RoomMemberEventContent

source§

type StateKey = OwnedUserId

source§

impl StateEventContent for RoomNameEventContent

source§

impl StateEventContent for RoomPinnedEventsEventContent

source§

impl StateEventContent for RoomPowerLevelsEventContent

source§

impl StateEventContent for RoomServerAclEventContent

source§

impl StateEventContent for RoomThirdPartyInviteEventContent

source§

impl StateEventContent for RoomTombstoneEventContent

source§

impl StateEventContent for RoomTopicEventContent

source§

impl StateEventContent for SpaceChildEventContent

source§

type StateKey = OwnedRoomId

source§

impl StateEventContent for SpaceParentEventContent

source§

type StateKey = OwnedRoomId