ruma::events

Trait StaticStateEventContent

Source
pub trait StaticStateEventContent: StateEventContent {
    type PossiblyRedacted: PossiblyRedactedStateEventContent;
    type Unsigned: Clone + Debug + Default + CanBeEmpty + DeserializeOwned;
}
Available on crate feature events only.
Expand description

Content of a non-redacted state event with a corresponding possibly-redacted type.

Required Associated Types§

Source

type PossiblyRedacted: PossiblyRedactedStateEventContent

The possibly redacted form of the event’s content.

Source

type Unsigned: Clone + Debug + Default + CanBeEmpty + DeserializeOwned

The type of the event’s unsigned 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 StaticStateEventContent for CallMemberEventContent

Source§

impl StaticStateEventContent for BeaconInfoEventContent

Source§

impl StaticStateEventContent for MemberHintsEventContent

Source§

impl StaticStateEventContent for PolicyRuleRoomEventContent

Source§

impl StaticStateEventContent for PolicyRuleServerEventContent

Source§

impl StaticStateEventContent for PolicyRuleUserEventContent

Source§

impl StaticStateEventContent for RoomAliasesEventContent

Source§

impl StaticStateEventContent for RoomAvatarEventContent

Source§

impl StaticStateEventContent for RoomCanonicalAliasEventContent

Source§

impl StaticStateEventContent for RoomCreateEventContent

Source§

impl StaticStateEventContent for RoomEncryptionEventContent

Source§

impl StaticStateEventContent for RoomGuestAccessEventContent

Source§

impl StaticStateEventContent for RoomHistoryVisibilityEventContent

Source§

impl StaticStateEventContent for RoomJoinRulesEventContent

Source§

impl StaticStateEventContent for RoomMemberEventContent

Source§

impl StaticStateEventContent for RoomNameEventContent

Source§

impl StaticStateEventContent for RoomPinnedEventsEventContent

Source§

impl StaticStateEventContent for RoomPowerLevelsEventContent

Source§

impl StaticStateEventContent for RoomServerAclEventContent

Source§

impl StaticStateEventContent for RoomThirdPartyInviteEventContent

Source§

impl StaticStateEventContent for RoomTombstoneEventContent

Source§

impl StaticStateEventContent for RoomTopicEventContent

Source§

impl StaticStateEventContent for SpaceChildEventContent

Source§

impl StaticStateEventContent for SpaceParentEventContent