Enum ruma_events::EventType [−][src]
pub enum EventType {}Show 51 variants
Direct, IgnoredUserList, PushRules, FullyRead, Tag, Receipt, Typing, 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, Dummy, RoomKey, RoomKeyRequest, ForwardedRoomKey, KeyVerificationRequest, Presence, // some variants omitted
Expand description
The type of EventType
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.direct
m.ignored_user_list
m.push_rules
m.fully_read
m.tag
m.receipt
m.typing
m.call.answer
m.call.invite
m.call.hangup
m.call.candidates
unstable-pre-spec
only.m.key.verification.ready
m.key.verification.start
m.key.verification.cancel
m.key.verification.accept
m.key.verification.key
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
m.dummy
m.room_key
m.room_key_request
m.forwarded_room_key
m.key.verification.request
m.presence
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
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 EventType
impl UnwindSafe for EventType
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