#[non_exhaustive]pub enum AnyPossiblyRedactedStateEventContent {
Show 27 variants
PolicyRuleRoom(PossiblyRedactedPolicyRuleRoomEventContent),
PolicyRuleServer(PossiblyRedactedPolicyRuleServerEventContent),
PolicyRuleUser(PossiblyRedactedPolicyRuleUserEventContent),
RoomAliases(PossiblyRedactedRoomAliasesEventContent),
RoomAvatar(PossiblyRedactedRoomAvatarEventContent),
RoomCanonicalAlias(PossiblyRedactedRoomCanonicalAliasEventContent),
RoomCreate(PossiblyRedactedRoomCreateEventContent),
RoomEncryption(PossiblyRedactedRoomEncryptionEventContent),
RoomEncrypted(PossiblyRedactedStateRoomEncryptedEventContent),
RoomGuestAccess(PossiblyRedactedRoomGuestAccessEventContent),
RoomHistoryVisibility(PossiblyRedactedRoomHistoryVisibilityEventContent),
RoomJoinRules(PossiblyRedactedRoomJoinRulesEventContent),
RoomLanguage(PossiblyRedactedRoomLanguageEventContent),
RoomMember(PossiblyRedactedRoomMemberEventContent),
RoomName(PossiblyRedactedRoomNameEventContent),
RoomPinnedEvents(PossiblyRedactedRoomPinnedEventsEventContent),
RoomPowerLevels(PossiblyRedactedRoomPowerLevelsEventContent),
RoomServerAcl(PossiblyRedactedRoomServerAclEventContent),
RoomThirdPartyInvite(PossiblyRedactedRoomThirdPartyInviteEventContent),
RoomTombstone(PossiblyRedactedRoomTombstoneEventContent),
RoomTopic(PossiblyRedactedRoomTopicEventContent),
SpaceChild(PossiblyRedactedSpaceChildEventContent),
SpaceParent(PossiblyRedactedSpaceParentEventContent),
RoomImagePack(PossiblyRedactedRoomImagePackEventContent),
BeaconInfo(PossiblyRedactedBeaconInfoEventContent),
CallMember(PossiblyRedactedCallMemberEventContent),
MemberHints(PossiblyRedactedMemberHintsEventContent),
}Expand description
Any state event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PolicyRuleRoom(PossiblyRedactedPolicyRuleRoomEventContent)
m.policy.rule.room
PolicyRuleServer(PossiblyRedactedPolicyRuleServerEventContent)
m.policy.rule.server
PolicyRuleUser(PossiblyRedactedPolicyRuleUserEventContent)
m.policy.rule.user
RoomAliases(PossiblyRedactedRoomAliasesEventContent)
m.room.aliases
RoomAvatar(PossiblyRedactedRoomAvatarEventContent)
m.room.avatar
RoomCanonicalAlias(PossiblyRedactedRoomCanonicalAliasEventContent)
m.room.canonical_alias
RoomCreate(PossiblyRedactedRoomCreateEventContent)
m.room.create
RoomEncryption(PossiblyRedactedRoomEncryptionEventContent)
m.room.encryption
RoomEncrypted(PossiblyRedactedStateRoomEncryptedEventContent)
m.room.encrypted
RoomGuestAccess(PossiblyRedactedRoomGuestAccessEventContent)
m.room.guest_access
RoomHistoryVisibility(PossiblyRedactedRoomHistoryVisibilityEventContent)
m.room.history_visibility
RoomJoinRules(PossiblyRedactedRoomJoinRulesEventContent)
m.room.join_rules
RoomLanguage(PossiblyRedactedRoomLanguageEventContent)
m.room.language
This variant uses the unstable type org.matrix.msc4334.room.language.
This variant can also be deserialized from the m.room.language type.
RoomMember(PossiblyRedactedRoomMemberEventContent)
m.room.member
RoomName(PossiblyRedactedRoomNameEventContent)
m.room.name
RoomPinnedEvents(PossiblyRedactedRoomPinnedEventsEventContent)
m.room.pinned_events
RoomPowerLevels(PossiblyRedactedRoomPowerLevelsEventContent)
m.room.power_levels
RoomServerAcl(PossiblyRedactedRoomServerAclEventContent)
m.room.server_acl
RoomThirdPartyInvite(PossiblyRedactedRoomThirdPartyInviteEventContent)
m.room.third_party_invite
RoomTombstone(PossiblyRedactedRoomTombstoneEventContent)
m.room.tombstone
RoomTopic(PossiblyRedactedRoomTopicEventContent)
m.room.topic
SpaceChild(PossiblyRedactedSpaceChildEventContent)
m.space.child
SpaceParent(PossiblyRedactedSpaceParentEventContent)
m.space.parent
RoomImagePack(PossiblyRedactedRoomImagePackEventContent)
m.image_pack
This variant uses the unstable type im.ponies.room_emotes.
This variant can also be deserialized from the m.image_pack type.
BeaconInfo(PossiblyRedactedBeaconInfoEventContent)
m.beacon_info
This variant uses the unstable type org.matrix.msc3672.beacon_info.
This variant can also be deserialized from the m.beacon_info type.
CallMember(PossiblyRedactedCallMemberEventContent)
m.call.member
This variant uses the unstable type org.matrix.msc3401.call.member.
This variant can also be deserialized from the m.call.member type.
MemberHints(PossiblyRedactedMemberHintsEventContent)
m.member_hints
This variant uses the unstable type io.element.functional_members.
This variant can also be deserialized from the m.member_hints type.
Trait Implementations§
Source§impl Clone for AnyPossiblyRedactedStateEventContent
impl Clone for AnyPossiblyRedactedStateEventContent
Source§fn clone(&self) -> AnyPossiblyRedactedStateEventContent
fn clone(&self) -> AnyPossiblyRedactedStateEventContent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl From<CallMemberEventContent> for AnyPossiblyRedactedStateEventContent
Available on crate feature unstable-msc3401 only.
impl From<CallMemberEventContent> for AnyPossiblyRedactedStateEventContent
unstable-msc3401 only.Source§fn from(c: PossiblyRedactedCallMemberEventContent) -> Self
fn from(c: PossiblyRedactedCallMemberEventContent) -> Self
Source§impl From<PossiblyRedactedBeaconInfoEventContent> for AnyPossiblyRedactedStateEventContent
Available on crate feature unstable-msc3489 only.
impl From<PossiblyRedactedBeaconInfoEventContent> for AnyPossiblyRedactedStateEventContent
unstable-msc3489 only.Source§fn from(c: PossiblyRedactedBeaconInfoEventContent) -> Self
fn from(c: PossiblyRedactedBeaconInfoEventContent) -> Self
Source§impl From<PossiblyRedactedMemberHintsEventContent> for AnyPossiblyRedactedStateEventContent
Available on crate feature unstable-msc4171 only.
impl From<PossiblyRedactedMemberHintsEventContent> for AnyPossiblyRedactedStateEventContent
unstable-msc4171 only.Source§fn from(c: PossiblyRedactedMemberHintsEventContent) -> Self
fn from(c: PossiblyRedactedMemberHintsEventContent) -> Self
Source§impl From<PossiblyRedactedPolicyRuleRoomEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedPolicyRuleRoomEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedPolicyRuleRoomEventContent) -> Self
fn from(c: PossiblyRedactedPolicyRuleRoomEventContent) -> Self
Source§impl From<PossiblyRedactedPolicyRuleServerEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedPolicyRuleServerEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedPolicyRuleServerEventContent) -> Self
fn from(c: PossiblyRedactedPolicyRuleServerEventContent) -> Self
Source§impl From<PossiblyRedactedPolicyRuleUserEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedPolicyRuleUserEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedPolicyRuleUserEventContent) -> Self
fn from(c: PossiblyRedactedPolicyRuleUserEventContent) -> Self
Source§impl From<PossiblyRedactedRoomAliasesEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomAliasesEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomAliasesEventContent) -> Self
fn from(c: PossiblyRedactedRoomAliasesEventContent) -> Self
Source§impl From<PossiblyRedactedRoomEncryptionEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomEncryptionEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomEncryptionEventContent) -> Self
fn from(c: PossiblyRedactedRoomEncryptionEventContent) -> Self
Source§impl From<PossiblyRedactedRoomGuestAccessEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomGuestAccessEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomGuestAccessEventContent) -> Self
fn from(c: PossiblyRedactedRoomGuestAccessEventContent) -> Self
Source§impl From<PossiblyRedactedRoomImagePackEventContent> for AnyPossiblyRedactedStateEventContent
Available on crate feature unstable-msc2545 only.
impl From<PossiblyRedactedRoomImagePackEventContent> for AnyPossiblyRedactedStateEventContent
unstable-msc2545 only.Source§fn from(c: PossiblyRedactedRoomImagePackEventContent) -> Self
fn from(c: PossiblyRedactedRoomImagePackEventContent) -> Self
Source§impl From<PossiblyRedactedRoomLanguageEventContent> for AnyPossiblyRedactedStateEventContent
Available on crate feature unstable-msc4334 only.
impl From<PossiblyRedactedRoomLanguageEventContent> for AnyPossiblyRedactedStateEventContent
unstable-msc4334 only.Source§fn from(c: PossiblyRedactedRoomLanguageEventContent) -> Self
fn from(c: PossiblyRedactedRoomLanguageEventContent) -> Self
Source§impl From<PossiblyRedactedRoomMemberEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomMemberEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomMemberEventContent) -> Self
fn from(c: PossiblyRedactedRoomMemberEventContent) -> Self
Source§impl From<PossiblyRedactedRoomNameEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomNameEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomNameEventContent) -> Self
fn from(c: PossiblyRedactedRoomNameEventContent) -> Self
Source§impl From<PossiblyRedactedRoomPinnedEventsEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomPinnedEventsEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomPinnedEventsEventContent) -> Self
fn from(c: PossiblyRedactedRoomPinnedEventsEventContent) -> Self
Source§impl From<PossiblyRedactedRoomTombstoneEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomTombstoneEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomTombstoneEventContent) -> Self
fn from(c: PossiblyRedactedRoomTombstoneEventContent) -> Self
Source§impl From<PossiblyRedactedRoomTopicEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedRoomTopicEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomTopicEventContent) -> Self
fn from(c: PossiblyRedactedRoomTopicEventContent) -> Self
Source§impl From<PossiblyRedactedSpaceChildEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedSpaceChildEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedSpaceChildEventContent) -> Self
fn from(c: PossiblyRedactedSpaceChildEventContent) -> Self
Source§impl From<PossiblyRedactedSpaceParentEventContent> for AnyPossiblyRedactedStateEventContent
impl From<PossiblyRedactedSpaceParentEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedSpaceParentEventContent) -> Self
fn from(c: PossiblyRedactedSpaceParentEventContent) -> Self
Source§impl From<PossiblyRedactedStateRoomEncryptedEventContent> for AnyPossiblyRedactedStateEventContent
Available on crate feature unstable-msc4362 only.
impl From<PossiblyRedactedStateRoomEncryptedEventContent> for AnyPossiblyRedactedStateEventContent
unstable-msc4362 only.Source§fn from(c: PossiblyRedactedStateRoomEncryptedEventContent) -> Self
fn from(c: PossiblyRedactedStateRoomEncryptedEventContent) -> Self
Source§impl From<RoomAvatarEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomAvatarEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomAvatarEventContent) -> Self
fn from(c: PossiblyRedactedRoomAvatarEventContent) -> Self
Source§impl From<RoomCanonicalAliasEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomCanonicalAliasEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomCanonicalAliasEventContent) -> Self
fn from(c: PossiblyRedactedRoomCanonicalAliasEventContent) -> Self
Source§impl From<RoomCreateEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomCreateEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomCreateEventContent) -> Self
fn from(c: PossiblyRedactedRoomCreateEventContent) -> Self
Source§impl From<RoomHistoryVisibilityEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomHistoryVisibilityEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomHistoryVisibilityEventContent) -> Self
fn from(c: PossiblyRedactedRoomHistoryVisibilityEventContent) -> Self
Source§impl From<RoomJoinRulesEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomJoinRulesEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomJoinRulesEventContent) -> Self
fn from(c: PossiblyRedactedRoomJoinRulesEventContent) -> Self
Source§impl From<RoomPowerLevelsEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomPowerLevelsEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomPowerLevelsEventContent) -> Self
fn from(c: PossiblyRedactedRoomPowerLevelsEventContent) -> Self
Source§impl From<RoomServerAclEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomServerAclEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomServerAclEventContent) -> Self
fn from(c: PossiblyRedactedRoomServerAclEventContent) -> Self
Source§impl From<RoomThirdPartyInviteEventContent> for AnyPossiblyRedactedStateEventContent
impl From<RoomThirdPartyInviteEventContent> for AnyPossiblyRedactedStateEventContent
Source§fn from(c: PossiblyRedactedRoomThirdPartyInviteEventContent) -> Self
fn from(c: PossiblyRedactedRoomThirdPartyInviteEventContent) -> Self
Source§impl PossiblyRedactedStateEventContent for AnyPossiblyRedactedStateEventContent
impl PossiblyRedactedStateEventContent for AnyPossiblyRedactedStateEventContent
Source§fn event_type(&self) -> StateEventType
fn event_type(&self) -> StateEventType
m.room.name.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedCallMemberEventContent
unstable-msc3401 only.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedBeaconInfoEventContent
unstable-msc3489 only.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedMemberHintsEventContent
unstable-msc4171 only.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedPolicyRuleRoomEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedPolicyRuleServerEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedPolicyRuleUserEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomAliasesEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomEncryptionEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomGuestAccessEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomImagePackEventContent
unstable-msc2545 only.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomLanguageEventContent
unstable-msc4334 only.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomMemberEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomNameEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomPinnedEventsEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomTombstoneEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedRoomTopicEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedSpaceChildEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedSpaceParentEventContent
impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedStateRoomEncryptedEventContent
unstable-msc4362 only.