matrix_sdk_base::ruma::events

Trait StaticStateEventContent

pub trait StaticStateEventContent: StateEventContent {
    type PossiblyRedacted: PossiblyRedactedStateEventContent;
    type Unsigned: Clone + Debug + Default + CanBeEmpty + DeserializeOwned;
}
Expand description

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

Required Associated Types§

type PossiblyRedacted: PossiblyRedactedStateEventContent

The possibly redacted form of the event’s content.

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§

§

impl StaticStateEventContent for CallMemberEventContent

Source§

impl StaticStateEventContent for RoomCreateWithCreatorEventContent

§

impl StaticStateEventContent for BeaconInfoEventContent

§

impl StaticStateEventContent for MemberHintsEventContent

§

impl StaticStateEventContent for PolicyRuleRoomEventContent

§

impl StaticStateEventContent for PolicyRuleServerEventContent

§

impl StaticStateEventContent for PolicyRuleUserEventContent

§

impl StaticStateEventContent for RoomAliasesEventContent

§

impl StaticStateEventContent for RoomAvatarEventContent

§

impl StaticStateEventContent for RoomCanonicalAliasEventContent

§

impl StaticStateEventContent for RoomCreateEventContent

§

impl StaticStateEventContent for RoomEncryptionEventContent

§

impl StaticStateEventContent for RoomGuestAccessEventContent

§

impl StaticStateEventContent for RoomHistoryVisibilityEventContent

§

impl StaticStateEventContent for RoomJoinRulesEventContent

§

impl StaticStateEventContent for RoomMemberEventContent

§

impl StaticStateEventContent for RoomNameEventContent

§

impl StaticStateEventContent for RoomPinnedEventsEventContent

§

impl StaticStateEventContent for RoomPowerLevelsEventContent

§

impl StaticStateEventContent for RoomServerAclEventContent

§

impl StaticStateEventContent for RoomThirdPartyInviteEventContent

§

impl StaticStateEventContent for RoomTombstoneEventContent

§

impl StaticStateEventContent for RoomTopicEventContent

§

impl StaticStateEventContent for SpaceChildEventContent

§

impl StaticStateEventContent for SpaceParentEventContent