#[non_exhaustive]pub enum AnyStrippedStateEvent {
Show 24 variants
PolicyRuleRoom(StrippedPolicyRuleRoomEvent),
PolicyRuleServer(StrippedPolicyRuleServerEvent),
PolicyRuleUser(StrippedPolicyRuleUserEvent),
RoomAliases(StrippedRoomAliasesEvent),
RoomAvatar(StrippedRoomAvatarEvent),
RoomCanonicalAlias(StrippedRoomCanonicalAliasEvent),
RoomCreate(StrippedRoomCreateEvent),
RoomEncryption(StrippedRoomEncryptionEvent),
RoomGuestAccess(StrippedRoomGuestAccessEvent),
RoomHistoryVisibility(StrippedRoomHistoryVisibilityEvent),
RoomJoinRules(StrippedRoomJoinRulesEvent),
RoomMember(StrippedRoomMemberEvent),
RoomName(StrippedRoomNameEvent),
RoomPinnedEvents(StrippedRoomPinnedEventsEvent),
RoomPowerLevels(StrippedRoomPowerLevelsEvent),
RoomServerAcl(StrippedRoomServerAclEvent),
RoomThirdPartyInvite(StrippedRoomThirdPartyInviteEvent),
RoomTombstone(StrippedRoomTombstoneEvent),
RoomTopic(StrippedRoomTopicEvent),
SpaceChild(StrippedSpaceChildEvent),
SpaceParent(StrippedSpaceParentEvent),
BeaconInfo(StrippedBeaconInfoEvent),
CallMember(StrippedCallMemberEvent),
MemberHints(StrippedMemberHintsEvent),
}
Expand description
Any state event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PolicyRuleRoom(StrippedPolicyRuleRoomEvent)
m.policy.rule.room
PolicyRuleServer(StrippedPolicyRuleServerEvent)
m.policy.rule.server
PolicyRuleUser(StrippedPolicyRuleUserEvent)
m.policy.rule.user
RoomAliases(StrippedRoomAliasesEvent)
m.room.aliases
RoomAvatar(StrippedRoomAvatarEvent)
m.room.avatar
RoomCanonicalAlias(StrippedRoomCanonicalAliasEvent)
m.room.canonical_alias
RoomCreate(StrippedRoomCreateEvent)
m.room.create
RoomEncryption(StrippedRoomEncryptionEvent)
m.room.encryption
RoomGuestAccess(StrippedRoomGuestAccessEvent)
m.room.guest_access
RoomHistoryVisibility(StrippedRoomHistoryVisibilityEvent)
m.room.history_visibility
RoomJoinRules(StrippedRoomJoinRulesEvent)
m.room.join_rules
RoomMember(StrippedRoomMemberEvent)
m.room.member
RoomName(StrippedRoomNameEvent)
m.room.name
RoomPinnedEvents(StrippedRoomPinnedEventsEvent)
m.room.pinned_events
RoomPowerLevels(StrippedRoomPowerLevelsEvent)
m.room.power_levels
RoomServerAcl(StrippedRoomServerAclEvent)
m.room.server_acl
RoomThirdPartyInvite(StrippedRoomThirdPartyInviteEvent)
m.room.third_party_invite
RoomTombstone(StrippedRoomTombstoneEvent)
m.room.tombstone
RoomTopic(StrippedRoomTopicEvent)
m.room.topic
SpaceChild(StrippedSpaceChildEvent)
m.space.child
SpaceParent(StrippedSpaceParentEvent)
m.space.parent
BeaconInfo(StrippedBeaconInfoEvent)
m.beacon_info
This variant uses the unstable type org.matrix.msc3672.beacon_info
.
This variant can also be deserialized from the m.beacon_info
type.
CallMember(StrippedCallMemberEvent)
m.call.member
This variant uses the unstable type org.matrix.msc3401.call.member
.
This variant can also be deserialized from the m.call.member
type.
MemberHints(StrippedMemberHintsEvent)
m.member_hints
This variant uses the unstable type io.element.functional_members
.
This variant can also be deserialized from the m.member_hints
type.
Implementations§
Source§impl AnyStrippedStateEvent
impl AnyStrippedStateEvent
Sourcepub fn event_type(&self) -> StateEventType
pub fn event_type(&self) -> StateEventType
Returns the type
of this event.
Trait Implementations§
Source§impl Clone for AnyStrippedStateEvent
impl Clone for AnyStrippedStateEvent
Source§fn clone(&self) -> AnyStrippedStateEvent
fn clone(&self) -> AnyStrippedStateEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more