Enum ruma_events::AnyStateEventContent [−][src]
pub enum AnyStateEventContent {
Show 21 variants
PolicyRuleRoom(RoomEventContent),
PolicyRuleServer(ServerEventContent),
PolicyRuleUser(UserEventContent),
RoomAliases(AliasesEventContent),
RoomAvatar(AvatarEventContent),
RoomCanonicalAlias(CanonicalAliasEventContent),
RoomCreate(CreateEventContent),
RoomEncryption(EncryptionEventContent),
RoomGuestAccess(GuestAccessEventContent),
RoomHistoryVisibility(HistoryVisibilityEventContent),
RoomJoinRules(JoinRulesEventContent),
RoomMember(MemberEventContent),
RoomName(NameEventContent),
RoomPinnedEvents(PinnedEventsEventContent),
RoomPowerLevels(PowerLevelsEventContent),
RoomServerAcl(ServerAclEventContent),
RoomThirdPartyInvite(ThirdPartyInviteEventContent),
RoomTombstone(TombstoneEventContent),
RoomTopic(TopicEventContent),
SpaceChild(ChildEventContent),
SpaceParent(ParentEventContent),
// some variants omitted
}
Expand description
Any state event.
Variants
PolicyRuleRoom(RoomEventContent)
m.policy.rule.room
Tuple Fields of PolicyRuleRoom
PolicyRuleServer(ServerEventContent)
m.policy.rule.server
Tuple Fields of PolicyRuleServer
PolicyRuleUser(UserEventContent)
m.policy.rule.user
Tuple Fields of PolicyRuleUser
RoomAliases(AliasesEventContent)
m.room.aliases
Tuple Fields of RoomAliases
RoomAvatar(AvatarEventContent)
m.room.avatar
Tuple Fields of RoomAvatar
RoomCanonicalAlias(CanonicalAliasEventContent)
m.room.canonical_alias
Tuple Fields of RoomCanonicalAlias
RoomCreate(CreateEventContent)
m.room.create
Tuple Fields of RoomCreate
RoomEncryption(EncryptionEventContent)
m.room.encryption
Tuple Fields of RoomEncryption
RoomGuestAccess(GuestAccessEventContent)
m.room.guest_access
Tuple Fields of RoomGuestAccess
RoomHistoryVisibility(HistoryVisibilityEventContent)
m.room.history_visibility
Tuple Fields of RoomHistoryVisibility
RoomJoinRules(JoinRulesEventContent)
m.room.join_rules
Tuple Fields of RoomJoinRules
RoomMember(MemberEventContent)
m.room.member
Tuple Fields of RoomMember
RoomName(NameEventContent)
m.room.name
Tuple Fields of RoomName
RoomPinnedEvents(PinnedEventsEventContent)
m.room.pinned_events
Tuple Fields of RoomPinnedEvents
RoomPowerLevels(PowerLevelsEventContent)
m.room.power_levels
Tuple Fields of RoomPowerLevels
RoomServerAcl(ServerAclEventContent)
m.room.server_acl
Tuple Fields of RoomServerAcl
RoomThirdPartyInvite(ThirdPartyInviteEventContent)
m.room.third_party_invite
Tuple Fields of RoomThirdPartyInvite
RoomTombstone(TombstoneEventContent)
m.room.tombstone
Tuple Fields of RoomTombstone
RoomTopic(TopicEventContent)
m.room.topic
Tuple Fields of RoomTopic
SpaceChild(ChildEventContent)
unstable-pre-spec
only.m.space.child
Tuple Fields of SpaceChild
SpaceParent(ParentEventContent)
unstable-pre-spec
only.m.space.parent
Tuple Fields of SpaceParent
Trait Implementations
A matrix event identifier, like m.room.message
.
Constructs the given event content.
Performs the conversion.
Performs the conversion.
Performs the conversion.
impl From<ChildEventContent> for AnyStateEventContent
This is supported on crate feature unstable-pre-spec
only.
impl From<ChildEventContent> for AnyStateEventContent
unstable-pre-spec
only.Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
impl From<ParentEventContent> for AnyStateEventContent
This is supported on crate feature unstable-pre-spec
only.
impl From<ParentEventContent> for AnyStateEventContent
unstable-pre-spec
only.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.
Redacts Self
given a RoomVersionId
.
The redacted form of the event’s content.
Auto Trait Implementations
impl RefUnwindSafe for AnyStateEventContent
impl Send for AnyStateEventContent
impl Sync for AnyStateEventContent
impl Unpin for AnyStateEventContent
impl UnwindSafe for AnyStateEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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