Enum ruma_events::AnyStrippedStateEvent [−][src]
pub enum AnyStrippedStateEvent {
Show 21 variants
PolicyRuleRoom(StrippedStateEvent<RoomEventContent>),
PolicyRuleServer(StrippedStateEvent<ServerEventContent>),
PolicyRuleUser(StrippedStateEvent<UserEventContent>),
RoomAliases(StrippedStateEvent<AliasesEventContent>),
RoomAvatar(StrippedStateEvent<AvatarEventContent>),
RoomCanonicalAlias(StrippedStateEvent<CanonicalAliasEventContent>),
RoomCreate(StrippedStateEvent<CreateEventContent>),
RoomEncryption(StrippedStateEvent<EncryptionEventContent>),
RoomGuestAccess(StrippedStateEvent<GuestAccessEventContent>),
RoomHistoryVisibility(StrippedStateEvent<HistoryVisibilityEventContent>),
RoomJoinRules(StrippedStateEvent<JoinRulesEventContent>),
RoomMember(StrippedStateEvent<MemberEventContent>),
RoomName(StrippedStateEvent<NameEventContent>),
RoomPinnedEvents(StrippedStateEvent<PinnedEventsEventContent>),
RoomPowerLevels(StrippedStateEvent<PowerLevelsEventContent>),
RoomServerAcl(StrippedStateEvent<ServerAclEventContent>),
RoomThirdPartyInvite(StrippedStateEvent<ThirdPartyInviteEventContent>),
RoomTombstone(StrippedStateEvent<TombstoneEventContent>),
RoomTopic(StrippedStateEvent<TopicEventContent>),
SpaceChild(StrippedStateEvent<ChildEventContent>),
SpaceParent(StrippedStateEvent<ParentEventContent>),
// some variants omitted
}
Expand description
Any state event.
Variants
PolicyRuleRoom(StrippedStateEvent<RoomEventContent>)
m.policy.rule.room
Tuple Fields of PolicyRuleRoom
PolicyRuleServer(StrippedStateEvent<ServerEventContent>)
m.policy.rule.server
Tuple Fields of PolicyRuleServer
PolicyRuleUser(StrippedStateEvent<UserEventContent>)
m.policy.rule.user
Tuple Fields of PolicyRuleUser
RoomAliases(StrippedStateEvent<AliasesEventContent>)
m.room.aliases
Tuple Fields of RoomAliases
RoomAvatar(StrippedStateEvent<AvatarEventContent>)
m.room.avatar
Tuple Fields of RoomAvatar
RoomCanonicalAlias(StrippedStateEvent<CanonicalAliasEventContent>)
m.room.canonical_alias
Tuple Fields of RoomCanonicalAlias
RoomCreate(StrippedStateEvent<CreateEventContent>)
m.room.create
Tuple Fields of RoomCreate
RoomEncryption(StrippedStateEvent<EncryptionEventContent>)
m.room.encryption
Tuple Fields of RoomEncryption
RoomGuestAccess(StrippedStateEvent<GuestAccessEventContent>)
m.room.guest_access
Tuple Fields of RoomGuestAccess
RoomHistoryVisibility(StrippedStateEvent<HistoryVisibilityEventContent>)
m.room.history_visibility
Tuple Fields of RoomHistoryVisibility
RoomJoinRules(StrippedStateEvent<JoinRulesEventContent>)
m.room.join_rules
Tuple Fields of RoomJoinRules
RoomMember(StrippedStateEvent<MemberEventContent>)
m.room.member
Tuple Fields of RoomMember
RoomName(StrippedStateEvent<NameEventContent>)
m.room.name
Tuple Fields of RoomName
RoomPinnedEvents(StrippedStateEvent<PinnedEventsEventContent>)
m.room.pinned_events
Tuple Fields of RoomPinnedEvents
RoomPowerLevels(StrippedStateEvent<PowerLevelsEventContent>)
m.room.power_levels
Tuple Fields of RoomPowerLevels
RoomServerAcl(StrippedStateEvent<ServerAclEventContent>)
m.room.server_acl
Tuple Fields of RoomServerAcl
RoomThirdPartyInvite(StrippedStateEvent<ThirdPartyInviteEventContent>)
m.room.third_party_invite
Tuple Fields of RoomThirdPartyInvite
RoomTombstone(StrippedStateEvent<TombstoneEventContent>)
m.room.tombstone
Tuple Fields of RoomTombstone
RoomTopic(StrippedStateEvent<TopicEventContent>)
m.room.topic
Tuple Fields of RoomTopic
SpaceChild(StrippedStateEvent<ChildEventContent>)
unstable-pre-spec
only.m.space.child
Tuple Fields of SpaceChild
SpaceParent(StrippedStateEvent<ParentEventContent>)
unstable-pre-spec
only.m.space.parent
Tuple Fields of SpaceParent
Implementations
Returns the any content enum for this event.
Returns the type
of this event.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
impl From<StrippedStateEvent<ChildEventContent>> for AnyStrippedStateEvent
This is supported on crate feature unstable-pre-spec
only.
impl From<StrippedStateEvent<ChildEventContent>> for AnyStrippedStateEvent
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<StrippedStateEvent<ParentEventContent>> for AnyStrippedStateEvent
This is supported on crate feature unstable-pre-spec
only.
impl From<StrippedStateEvent<ParentEventContent>> for AnyStrippedStateEvent
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.
The redacted form of the event.
fn redact(
self,
redaction: SyncRedactionEvent,
version: &RoomVersionId
) -> AnyRedactedStrippedStateEvent
fn redact(
self,
redaction: SyncRedactionEvent,
version: &RoomVersionId
) -> AnyRedactedStrippedStateEvent
Transforms self
into a redacted form (removing most fields) according to the spec. Read more
Auto Trait Implementations
impl RefUnwindSafe for AnyStrippedStateEvent
impl Send for AnyStrippedStateEvent
impl Sync for AnyStrippedStateEvent
impl Unpin for AnyStrippedStateEvent
impl UnwindSafe for AnyStrippedStateEvent
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