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
impl From<RedactedRoomRetentionEventContent> for PossiblyRedactedRoomRetentionEventContent
Source§fn from(_value: RedactedRoomRetentionEventContent) -> Self
fn from(_value: RedactedRoomRetentionEventContent) -> Self
Converts to this type from the input type.
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomRetentionEventContent
Available on crate feature
unstable-msc1763 only.Source§impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomRetentionEventContent
impl PossiblyRedactedStateEventContent for PossiblyRedactedRoomRetentionEventContent
Source§type StateKey = EmptyStateKey
type StateKey = EmptyStateKey
The type of the event’s
state_key field.Source§fn event_type(&self) -> StateEventType
fn event_type(&self) -> StateEventType
Get the event’s type, like
m.room.name.