Enum ruma_events::AnyRedactedStrippedStateEvent[][src]

pub enum AnyRedactedStrippedStateEvent {
Show 21 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

m.policy.rule.room

Tuple Fields of PolicyRuleRoom

0: RedactedStrippedStateEvent<RedactedRoomEventContent>

m.policy.rule.server

Tuple Fields of PolicyRuleServer

0: RedactedStrippedStateEvent<RedactedServerEventContent>

m.policy.rule.user

Tuple Fields of PolicyRuleUser

0: RedactedStrippedStateEvent<RedactedUserEventContent>

m.room.aliases

m.room.avatar

m.room.canonical_alias

Tuple Fields of RoomCanonicalAlias

0: RedactedStrippedStateEvent<RedactedCanonicalAliasEventContent>

m.room.create

m.room.encryption

m.room.guest_access

m.room.history_visibility

Tuple Fields of RoomHistoryVisibility

0: RedactedStrippedStateEvent<RedactedHistoryVisibilityEventContent>

m.room.join_rules

m.room.member

m.room.name

m.room.pinned_events

m.room.power_levels

m.room.server_acl

m.room.third_party_invite

Tuple Fields of RoomThirdPartyInvite

0: RedactedStrippedStateEvent<RedactedThirdPartyInviteEventContent>

m.room.tombstone

m.room.topic

This is supported on crate feature unstable-pre-spec only.

m.space.child

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

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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