ruma::events

Trait StateEventContent

Source
pub trait StateEventContent: EventContent<EventType = StateEventType> {
    type StateKey: AsRef<str> + Clone + Debug + DeserializeOwned + Serialize;
}
Available on crate feature events only.
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl StateEventContent for CallMemberEventContent

Source§

impl StateEventContent for AnyStateEventContent

Source§

impl StateEventContent for BeaconInfoEventContent

Source§

impl StateEventContent for MemberHintsEventContent

Source§

impl StateEventContent for PolicyRuleRoomEventContent

Source§

impl StateEventContent for PolicyRuleServerEventContent

Source§

impl StateEventContent for PolicyRuleUserEventContent

Source§

impl StateEventContent for RoomAliasesEventContent

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§

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§

impl StateEventContent for SpaceParentEventContent