#[non_exhaustive]pub enum AnyFullStateEventContent {
Show 24 variants
PolicyRuleRoom(FullStateEventContent<PolicyRuleRoomEventContent>),
PolicyRuleServer(FullStateEventContent<PolicyRuleServerEventContent>),
PolicyRuleUser(FullStateEventContent<PolicyRuleUserEventContent>),
RoomAliases(FullStateEventContent<RoomAliasesEventContent>),
RoomAvatar(FullStateEventContent<RoomAvatarEventContent>),
RoomCanonicalAlias(FullStateEventContent<RoomCanonicalAliasEventContent>),
RoomCreate(FullStateEventContent<RoomCreateEventContent>),
RoomEncryption(FullStateEventContent<RoomEncryptionEventContent>),
RoomGuestAccess(FullStateEventContent<RoomGuestAccessEventContent>),
RoomHistoryVisibility(FullStateEventContent<RoomHistoryVisibilityEventContent>),
RoomJoinRules(FullStateEventContent<RoomJoinRulesEventContent>),
RoomMember(FullStateEventContent<RoomMemberEventContent>),
RoomName(FullStateEventContent<RoomNameEventContent>),
RoomPinnedEvents(FullStateEventContent<RoomPinnedEventsEventContent>),
RoomPowerLevels(FullStateEventContent<RoomPowerLevelsEventContent>),
RoomServerAcl(FullStateEventContent<RoomServerAclEventContent>),
RoomThirdPartyInvite(FullStateEventContent<RoomThirdPartyInviteEventContent>),
RoomTombstone(FullStateEventContent<RoomTombstoneEventContent>),
RoomTopic(FullStateEventContent<RoomTopicEventContent>),
SpaceChild(FullStateEventContent<SpaceChildEventContent>),
SpaceParent(FullStateEventContent<SpaceParentEventContent>),
BeaconInfo(FullStateEventContent<BeaconInfoEventContent>),
CallMember(FullStateEventContent<CallMemberEventContent>),
MemberHints(FullStateEventContent<MemberHintsEventContent>),
}
Expand description
Any state event.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PolicyRuleRoom(FullStateEventContent<PolicyRuleRoomEventContent>)
m.policy.rule.room
PolicyRuleServer(FullStateEventContent<PolicyRuleServerEventContent>)
m.policy.rule.server
PolicyRuleUser(FullStateEventContent<PolicyRuleUserEventContent>)
m.policy.rule.user
RoomAliases(FullStateEventContent<RoomAliasesEventContent>)
m.room.aliases
RoomAvatar(FullStateEventContent<RoomAvatarEventContent>)
m.room.avatar
RoomCanonicalAlias(FullStateEventContent<RoomCanonicalAliasEventContent>)
m.room.canonical_alias
RoomCreate(FullStateEventContent<RoomCreateEventContent>)
m.room.create
RoomEncryption(FullStateEventContent<RoomEncryptionEventContent>)
m.room.encryption
RoomGuestAccess(FullStateEventContent<RoomGuestAccessEventContent>)
m.room.guest_access
RoomHistoryVisibility(FullStateEventContent<RoomHistoryVisibilityEventContent>)
m.room.history_visibility
RoomJoinRules(FullStateEventContent<RoomJoinRulesEventContent>)
m.room.join_rules
RoomMember(FullStateEventContent<RoomMemberEventContent>)
m.room.member
RoomName(FullStateEventContent<RoomNameEventContent>)
m.room.name
RoomPinnedEvents(FullStateEventContent<RoomPinnedEventsEventContent>)
m.room.pinned_events
RoomPowerLevels(FullStateEventContent<RoomPowerLevelsEventContent>)
m.room.power_levels
RoomServerAcl(FullStateEventContent<RoomServerAclEventContent>)
m.room.server_acl
RoomThirdPartyInvite(FullStateEventContent<RoomThirdPartyInviteEventContent>)
m.room.third_party_invite
RoomTombstone(FullStateEventContent<RoomTombstoneEventContent>)
m.room.tombstone
RoomTopic(FullStateEventContent<RoomTopicEventContent>)
m.room.topic
SpaceChild(FullStateEventContent<SpaceChildEventContent>)
m.space.child
SpaceParent(FullStateEventContent<SpaceParentEventContent>)
m.space.parent
BeaconInfo(FullStateEventContent<BeaconInfoEventContent>)
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(FullStateEventContent<CallMemberEventContent>)
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(FullStateEventContent<MemberHintsEventContent>)
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 AnyFullStateEventContent
impl AnyFullStateEventContent
Sourcepub fn event_type(&self) -> StateEventType
pub fn event_type(&self) -> StateEventType
Get the event’s type, like m.room.create
.
Trait Implementations§
Source§impl Clone for AnyFullStateEventContent
impl Clone for AnyFullStateEventContent
Source§fn clone(&self) -> AnyFullStateEventContent
fn clone(&self) -> AnyFullStateEventContent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more