Enum ruma_events::AnyRedactedStateEventContent[][src]

pub enum AnyRedactedStateEventContent {
Show 21 variants PolicyRuleRoom(RedactedRoomEventContent), PolicyRuleServer(RedactedServerEventContent), PolicyRuleUser(RedactedUserEventContent), RoomAliases(RedactedAliasesEventContent), RoomAvatar(RedactedAvatarEventContent), RoomCanonicalAlias(RedactedCanonicalAliasEventContent), RoomCreate(RedactedCreateEventContent), RoomEncryption(RedactedEncryptionEventContent), RoomGuestAccess(RedactedGuestAccessEventContent), RoomHistoryVisibility(RedactedHistoryVisibilityEventContent), RoomJoinRules(RedactedJoinRulesEventContent), RoomMember(RedactedMemberEventContent), RoomName(RedactedNameEventContent), RoomPinnedEvents(RedactedPinnedEventsEventContent), RoomPowerLevels(RedactedPowerLevelsEventContent), RoomServerAcl(RedactedServerAclEventContent), RoomThirdPartyInvite(RedactedThirdPartyInviteEventContent), RoomTombstone(RedactedTombstoneEventContent), RoomTopic(RedactedTopicEventContent), SpaceChild(RedactedChildEventContent), SpaceParent(RedactedParentEventContent), // some variants omitted
}
Expand description

Any state event.

Variants

PolicyRuleRoom(RedactedRoomEventContent)

m.policy.rule.room

Tuple Fields of PolicyRuleRoom

0: RedactedRoomEventContent
PolicyRuleServer(RedactedServerEventContent)

m.policy.rule.server

Tuple Fields of PolicyRuleServer

0: RedactedServerEventContent
PolicyRuleUser(RedactedUserEventContent)

m.policy.rule.user

Tuple Fields of PolicyRuleUser

0: RedactedUserEventContent
RoomAliases(RedactedAliasesEventContent)

m.room.aliases

Tuple Fields of RoomAliases

0: RedactedAliasesEventContent
RoomAvatar(RedactedAvatarEventContent)

m.room.avatar

Tuple Fields of RoomAvatar

0: RedactedAvatarEventContent
RoomCanonicalAlias(RedactedCanonicalAliasEventContent)

m.room.canonical_alias

Tuple Fields of RoomCanonicalAlias

0: RedactedCanonicalAliasEventContent
RoomCreate(RedactedCreateEventContent)

m.room.create

Tuple Fields of RoomCreate

0: RedactedCreateEventContent
RoomEncryption(RedactedEncryptionEventContent)

m.room.encryption

Tuple Fields of RoomEncryption

0: RedactedEncryptionEventContent
RoomGuestAccess(RedactedGuestAccessEventContent)

m.room.guest_access

Tuple Fields of RoomGuestAccess

0: RedactedGuestAccessEventContent
RoomHistoryVisibility(RedactedHistoryVisibilityEventContent)

m.room.history_visibility

Tuple Fields of RoomHistoryVisibility

0: RedactedHistoryVisibilityEventContent
RoomJoinRules(RedactedJoinRulesEventContent)

m.room.join_rules

Tuple Fields of RoomJoinRules

0: RedactedJoinRulesEventContent
RoomMember(RedactedMemberEventContent)

m.room.member

Tuple Fields of RoomMember

0: RedactedMemberEventContent
RoomName(RedactedNameEventContent)

m.room.name

Tuple Fields of RoomName

0: RedactedNameEventContent
RoomPinnedEvents(RedactedPinnedEventsEventContent)

m.room.pinned_events

Tuple Fields of RoomPinnedEvents

0: RedactedPinnedEventsEventContent
RoomPowerLevels(RedactedPowerLevelsEventContent)

m.room.power_levels

Tuple Fields of RoomPowerLevels

0: RedactedPowerLevelsEventContent
RoomServerAcl(RedactedServerAclEventContent)

m.room.server_acl

Tuple Fields of RoomServerAcl

0: RedactedServerAclEventContent
RoomThirdPartyInvite(RedactedThirdPartyInviteEventContent)

m.room.third_party_invite

Tuple Fields of RoomThirdPartyInvite

0: RedactedThirdPartyInviteEventContent
RoomTombstone(RedactedTombstoneEventContent)

m.room.tombstone

Tuple Fields of RoomTombstone

0: RedactedTombstoneEventContent
RoomTopic(RedactedTopicEventContent)

m.room.topic

Tuple Fields of RoomTopic

0: RedactedTopicEventContent
SpaceChild(RedactedChildEventContent)
This is supported on crate feature unstable-pre-spec only.

m.space.child

Tuple Fields of SpaceChild

0: RedactedChildEventContent
SpaceParent(RedactedParentEventContent)
This is supported on crate feature unstable-pre-spec only.

m.space.parent

Tuple Fields of SpaceParent

0: RedactedParentEventContent

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more