Enum ruma_events::EventType
source · pub enum EventType {
Show 25 variants
CallAnswer,
CallCandidates,
CallHangup,
CallInvite,
Direct,
Presence,
Receipt,
RoomAliases,
RoomAvatar,
RoomCanonicalAlias,
RoomCreate,
RoomGuestAccess,
RoomHistoryVisibility,
RoomJoinRules,
RoomMember,
RoomMessage,
RoomName,
RoomPinnedEvents,
RoomPowerLevels,
RoomRedaction,
RoomThirdPartyInvite,
RoomTopic,
Tag,
Typing,
Custom(String),
}
Expand description
The type of an event.
Variants
CallAnswer
m.call.answer
CallCandidates
m.call.candidates
CallHangup
m.call.hangup
CallInvite
m.call.invite
Direct
m.direct
Presence
m.presence
Receipt
m.receipt
RoomAliases
m.room.aliases
RoomAvatar
m.room.avatar
RoomCanonicalAlias
m.room.canonical_alias
RoomCreate
m.room.create
RoomGuestAccess
m.room.guest_access
RoomHistoryVisibility
m.room.history_visibility
RoomJoinRules
m.room.join_rules
RoomMember
m.room.member
RoomMessage
m.room.message
RoomName
m.room.name
RoomPinnedEvents
m.room.pinned_events
RoomPowerLevels
m.room.power_levels
RoomRedaction
m.room.redaction
RoomThirdPartyInvite
m.room.third_party_invite
RoomTopic
m.room.topic
Tag
m.tag
Typing
m.typing
Custom(String)
Any event that is not part of the specification.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EventType
impl StructuralEq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more