Trait PossiblyRedactedStateEventContent

pub trait PossiblyRedactedStateEventContent: Sized + Serialize {
    type StateKey: AsRef<str> + Clone + Debug + DeserializeOwned + Serialize;

    // Required method
    fn event_type(&self) -> StateEventType;
}
Expand description

Content of a state event.

Required Associated Types§

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

The type of the event’s state_key field.

Required Methods§

fn event_type(&self) -> StateEventType

Get the event’s type, like m.room.name.

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 PossiblyRedactedStateEventContent for CallMemberEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedBeaconInfoEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedMemberHintsEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedPolicyRuleRoomEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedPolicyRuleServerEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedPolicyRuleUserEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomAliasesEventContent

§

impl PossiblyRedactedStateEventContent for RoomAvatarEventContent

§

impl PossiblyRedactedStateEventContent for RoomCanonicalAliasEventContent

§

impl PossiblyRedactedStateEventContent for RoomCreateEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomEncryptionEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomGuestAccessEventContent

§

impl PossiblyRedactedStateEventContent for RoomHistoryVisibilityEventContent

§

impl PossiblyRedactedStateEventContent for RoomJoinRulesEventContent

§

impl PossiblyRedactedStateEventContent for RoomMemberEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomNameEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomPinnedEventsEventContent

§

impl PossiblyRedactedStateEventContent for RoomPowerLevelsEventContent

§

impl PossiblyRedactedStateEventContent for RoomServerAclEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomThirdPartyInviteEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomTombstoneEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomTopicEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedSpaceChildEventContent

§

impl PossiblyRedactedStateEventContent for PossiblyRedactedSpaceParentEventContent