Enum ruma_events::AnyRedactedStateEventContent[][src]

pub enum AnyRedactedStateEventContent {
Show 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), Custom(RedactedCustomEventContent),
}
Expand description

Any state event.

Variants

PolicyRuleRoom(RedactedRoomEventContent)

m.policy.rule.room

PolicyRuleServer(RedactedServerEventContent)

m.policy.rule.server

PolicyRuleUser(RedactedUserEventContent)

m.policy.rule.user

RoomAliases(RedactedAliasesEventContent)

m.room.aliases

RoomAvatar(RedactedAvatarEventContent)

m.room.avatar

RoomCanonicalAlias(RedactedCanonicalAliasEventContent)

m.room.canonical_alias

RoomCreate(RedactedCreateEventContent)

m.room.create

RoomEncryption(RedactedEncryptionEventContent)

m.room.encryption

RoomGuestAccess(RedactedGuestAccessEventContent)

m.room.guest_access

RoomHistoryVisibility(RedactedHistoryVisibilityEventContent)

m.room.history_visibility

RoomJoinRules(RedactedJoinRulesEventContent)

m.room.join_rules

RoomMember(RedactedMemberEventContent)

m.room.member

RoomName(RedactedNameEventContent)

m.room.name

RoomPinnedEvents(RedactedPinnedEventsEventContent)

m.room.pinned_events

RoomPowerLevels(RedactedPowerLevelsEventContent)

m.room.power_levels

RoomServerAcl(RedactedServerAclEventContent)

m.room.server_acl

RoomThirdPartyInvite(RedactedThirdPartyInviteEventContent)

m.room.third_party_invite

RoomTombstone(RedactedTombstoneEventContent)

m.room.tombstone

RoomTopic(RedactedTopicEventContent)

m.room.topic

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

m.space.child

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

m.space.parent

Custom(RedactedCustomEventContent)

Content of a redacted event not defined by the Matrix specification.

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.