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
}
events
only.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)
m.space.child
SpaceParent(RedactedParentEventContent)
m.space.parent
Trait Implementations
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl Send for AnyRedactedStateEventContent
impl Sync for AnyRedactedStateEventContent
impl Unpin for AnyRedactedStateEventContent
impl UnwindSafe for AnyRedactedStateEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
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