Enum ruma_events::RoomEventType [−][src]
pub enum RoomEventType {}Show variants
CallAnswer, CallInvite, CallHangup, CallCandidates, KeyVerificationReady, KeyVerificationStart, KeyVerificationCancel, KeyVerificationAccept, KeyVerificationKey, KeyVerificationMac, KeyVerificationDone, Reaction, RoomEncrypted, RoomMessage, RoomMessageFeedback, RoomRedaction, Sticker, PolicyRuleRoom, PolicyRuleServer, PolicyRuleUser, RoomAliases, RoomAvatar, RoomCanonicalAlias, RoomCreate, RoomEncryption, RoomGuestAccess, RoomHistoryVisibility, RoomJoinRules, RoomMember, RoomName, RoomPinnedEvents, RoomPowerLevels, RoomServerAcl, RoomThirdPartyInvite, RoomTombstone, RoomTopic, SpaceChild, SpaceParent, // some variants omitted
Expand description
The type of RoomEventType
this is.
This type can hold an arbitrary string. To check for events that are not available as a
documented variant here, use its string representation, obtained through .as_str()
.
Variants
m.call.answer
m.call.invite
m.call.hangup
m.call.candidates
unstable-pre-spec
only.m.key.verification.ready
unstable-pre-spec
only.m.key.verification.start
unstable-pre-spec
only.m.key.verification.cancel
unstable-pre-spec
only.m.key.verification.accept
unstable-pre-spec
only.m.key.verification.key
unstable-pre-spec
only.m.key.verification.mac
unstable-pre-spec
only.m.key.verification.done
unstable-pre-spec
only.m.reaction
m.room.encrypted
m.room.message
m.room.message.feedback
m.room.redaction
m.sticker
m.policy.rule.room
m.policy.rule.server
m.policy.rule.user
m.room.aliases
m.room.avatar
m.room.canonical_alias
m.room.create
m.room.encryption
m.room.guest_access
m.room.history_visibility
m.room.join_rules
m.room.member
m.room.name
m.room.pinned_events
m.room.power_levels
m.room.server_acl
m.room.third_party_invite
m.room.tombstone
m.room.topic
unstable-pre-spec
only.m.space.child
unstable-pre-spec
only.m.space.parent
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoomEventType
impl Send for RoomEventType
impl Sync for RoomEventType
impl Unpin for RoomEventType
impl UnwindSafe for RoomEventType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V