Enum ruma_events::EventType [] [src]

pub enum EventType {
    CallAnswer,
    CallCandidates,
    CallHangup,
    CallInvite,
    Presence,
    Receipt,
    RoomAliases,
    RoomAvatar,
    RoomCanonicalAlias,
    RoomCreate,
    RoomGuestAccess,
    RoomHistoryVisibility,
    RoomJoinRules,
    RoomMember,
    RoomMessage,
    RoomName,
    RoomPowerLevels,
    RoomRedaction,
    RoomThirdPartyInvite,
    RoomTopic,
    Tag,
    Typing,
    Custom(String),
}

The type of an event.

Variants

m.call.answer

m.call.candidates

m.call.hangup

m.call.invite

m.presence

m.receipt

m.room.aliases

m.room.avatar

m.room.canonical_alias

m.room.create

m.room.guest_access

m.room.history_visibility

m.room.join_rules

m.room.member

m.room.message

m.room.name

m.room.power_levels

m.room.redaction

m.room.third_party_invite

m.room.topic

m.tag

m.typing

Any event that is not part of the specification.

Trait Implementations

impl Clone for EventType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EventType
[src]

Formats the value using the given formatter.

impl Eq for EventType
[src]

impl Hash for EventType
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for EventType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for EventType
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for EventType
[src]

Performs the conversion.

impl Serialize for EventType
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for EventType
[src]

Deserialize this value from the given Serde deserializer. Read more