Enum ruma_events::AnyRedactedStrippedStateEvent[][src]

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

Any state event.

Variants

PolicyRuleRoom(RedactedStrippedStateEvent<RedactedRoomEventContent>)

m.policy.rule.room

PolicyRuleServer(RedactedStrippedStateEvent<RedactedServerEventContent>)

m.policy.rule.server

PolicyRuleUser(RedactedStrippedStateEvent<RedactedUserEventContent>)

m.policy.rule.user

RoomAliases(RedactedStrippedStateEvent<RedactedAliasesEventContent>)

m.room.aliases

RoomAvatar(RedactedStrippedStateEvent<RedactedAvatarEventContent>)

m.room.avatar

RoomCanonicalAlias(RedactedStrippedStateEvent<RedactedCanonicalAliasEventContent>)

m.room.canonical_alias

RoomCreate(RedactedStrippedStateEvent<RedactedCreateEventContent>)

m.room.create

RoomEncryption(RedactedStrippedStateEvent<RedactedEncryptionEventContent>)

m.room.encryption

RoomGuestAccess(RedactedStrippedStateEvent<RedactedGuestAccessEventContent>)

m.room.guest_access

RoomHistoryVisibility(RedactedStrippedStateEvent<RedactedHistoryVisibilityEventContent>)

m.room.history_visibility

RoomJoinRules(RedactedStrippedStateEvent<RedactedJoinRulesEventContent>)

m.room.join_rules

RoomMember(RedactedStrippedStateEvent<RedactedMemberEventContent>)

m.room.member

RoomName(RedactedStrippedStateEvent<RedactedNameEventContent>)

m.room.name

RoomPinnedEvents(RedactedStrippedStateEvent<RedactedPinnedEventsEventContent>)

m.room.pinned_events

RoomPowerLevels(RedactedStrippedStateEvent<RedactedPowerLevelsEventContent>)

m.room.power_levels

RoomServerAcl(RedactedStrippedStateEvent<RedactedServerAclEventContent>)

m.room.server_acl

RoomThirdPartyInvite(RedactedStrippedStateEvent<RedactedThirdPartyInviteEventContent>)

m.room.third_party_invite

RoomTombstone(RedactedStrippedStateEvent<RedactedTombstoneEventContent>)

m.room.tombstone

RoomTopic(RedactedStrippedStateEvent<RedactedTopicEventContent>)

m.room.topic

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

m.space.child

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

m.space.parent

Implementations

Returns this event’s sender field.

Returns this event’s state_key field.

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

Deserialize this value from the given Serde deserializer. 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.