#[non_exhaustive]pub enum AnyInitialStateEvent {
Show 24 variants
PolicyRuleRoom(InitialPolicyRuleRoomEvent),
PolicyRuleServer(InitialPolicyRuleServerEvent),
PolicyRuleUser(InitialPolicyRuleUserEvent),
RoomAliases(InitialRoomAliasesEvent),
RoomAvatar(InitialRoomAvatarEvent),
RoomCanonicalAlias(InitialRoomCanonicalAliasEvent),
RoomCreate(InitialRoomCreateEvent),
RoomEncryption(InitialRoomEncryptionEvent),
RoomGuestAccess(InitialRoomGuestAccessEvent),
RoomHistoryVisibility(InitialRoomHistoryVisibilityEvent),
RoomJoinRules(InitialRoomJoinRulesEvent),
RoomMember(InitialRoomMemberEvent),
RoomName(InitialRoomNameEvent),
RoomPinnedEvents(InitialRoomPinnedEventsEvent),
RoomPowerLevels(InitialRoomPowerLevelsEvent),
RoomServerAcl(InitialRoomServerAclEvent),
RoomThirdPartyInvite(InitialRoomThirdPartyInviteEvent),
RoomTombstone(InitialRoomTombstoneEvent),
RoomTopic(InitialRoomTopicEvent),
SpaceChild(InitialSpaceChildEvent),
SpaceParent(InitialSpaceParentEvent),
BeaconInfo(InitialBeaconInfoEvent),
CallMember(InitialCallMemberEvent),
MemberHints(InitialMemberHintsEvent),
}
Expand description
Any state event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PolicyRuleRoom(InitialPolicyRuleRoomEvent)
m.policy.rule.room
PolicyRuleServer(InitialPolicyRuleServerEvent)
m.policy.rule.server
PolicyRuleUser(InitialPolicyRuleUserEvent)
m.policy.rule.user
RoomAliases(InitialRoomAliasesEvent)
m.room.aliases
RoomAvatar(InitialRoomAvatarEvent)
m.room.avatar
RoomCanonicalAlias(InitialRoomCanonicalAliasEvent)
m.room.canonical_alias
RoomCreate(InitialRoomCreateEvent)
m.room.create
RoomEncryption(InitialRoomEncryptionEvent)
m.room.encryption
RoomGuestAccess(InitialRoomGuestAccessEvent)
m.room.guest_access
RoomHistoryVisibility(InitialRoomHistoryVisibilityEvent)
m.room.history_visibility
RoomJoinRules(InitialRoomJoinRulesEvent)
m.room.join_rules
RoomMember(InitialRoomMemberEvent)
m.room.member
RoomName(InitialRoomNameEvent)
m.room.name
RoomPinnedEvents(InitialRoomPinnedEventsEvent)
m.room.pinned_events
RoomPowerLevels(InitialRoomPowerLevelsEvent)
m.room.power_levels
RoomServerAcl(InitialRoomServerAclEvent)
m.room.server_acl
RoomThirdPartyInvite(InitialRoomThirdPartyInviteEvent)
m.room.third_party_invite
RoomTombstone(InitialRoomTombstoneEvent)
m.room.tombstone
RoomTopic(InitialRoomTopicEvent)
m.room.topic
SpaceChild(InitialSpaceChildEvent)
m.space.child
SpaceParent(InitialSpaceParentEvent)
m.space.parent
BeaconInfo(InitialBeaconInfoEvent)
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(InitialCallMemberEvent)
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(InitialMemberHintsEvent)
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 AnyInitialStateEvent
impl AnyInitialStateEvent
Sourcepub fn event_type(&self) -> StateEventType
pub fn event_type(&self) -> StateEventType
Returns the type
of this event.
Sourcepub fn content(&self) -> AnyStateEventContent
pub fn content(&self) -> AnyStateEventContent
Returns the content for this event.
Trait Implementations§
Source§impl Clone for AnyInitialStateEvent
impl Clone for AnyInitialStateEvent
Source§fn clone(&self) -> AnyInitialStateEvent
fn clone(&self) -> AnyInitialStateEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more