Skip to main content

PossiblyRedactedRoomRetentionEventContent

Type Alias PossiblyRedactedRoomRetentionEventContent 

Source
pub type PossiblyRedactedRoomRetentionEventContent = RoomRetentionEventContent;
Expand description

The PossiblyRedacted version of RoomRetentionEventContent.

Since the event has only optional fields it’s already compatible with the redacted version of the state event content.

Aliased Type§

pub struct PossiblyRedactedRoomRetentionEventContent { /* private fields */ }

Trait Implementations§

Source§

impl From<RedactedRoomRetentionEventContent> for PossiblyRedactedRoomRetentionEventContent

Source§

fn from(_value: RedactedRoomRetentionEventContent) -> Self

Converts to this type from the input type.
Source§

impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomRetentionEventContent

Available on crate feature unstable-msc1763 only.
Source§

impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomRetentionEventContent

Source§

type StateKey = EmptyStateKey

The type of the event’s state_key field.
Source§

fn event_type(&self) -> StateEventType

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