Enum ruma_events::collections::all::Event [] [src]

pub enum Event {
    CallAnswer(AnswerEvent),
    CallCandidates(CandidatesEvent),
    CallHangup(HangupEvent),
    CallInvite(InviteEvent),
    Presence(PresenceEvent),
    Receipt(ReceiptEvent),
    RoomAliases(AliasesEvent),
    RoomAvatar(AvatarEvent),
    RoomCanonicalAlias(CanonicalAliasEvent),
    RoomCreate(CreateEvent),
    RoomGuestAccess(GuestAccessEvent),
    RoomHistoryVisibility(HistoryVisibilityEvent),
    RoomJoinRules(JoinRulesEvent),
    RoomMember(MemberEvent),
    RoomMessage(MessageEvent),
    RoomName(NameEvent),
    RoomPowerLevels(PowerLevelsEvent),
    RoomRedaction(RedactionEvent),
    RoomThirdPartyInvite(ThirdPartyInviteEvent),
    RoomTopic(TopicEvent),
    Tag(TagEvent),
    Typing(TypingEvent),
    Custom(CustomEvent),
    CustomRoom(CustomRoomEvent),
    CustomState(CustomStateEvent),
}

A basic event, room event, or state 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 basic event that is not part of the specification.

Any room event that is not part of the specification.

Any state event that is not part of the specification.

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Serialize for Event
[src]

Serialize this value into the given Serde serializer. Read more

impl Deserialize for Event
[src]

Deserialize this value from the given Serde deserializer. Read more

impl From<AnswerEvent> for Event
[src]

Performs the conversion.

impl From<CandidatesEvent> for Event
[src]

Performs the conversion.

impl From<HangupEvent> for Event
[src]

Performs the conversion.

impl From<InviteEvent> for Event
[src]

Performs the conversion.

impl From<PresenceEvent> for Event
[src]

Performs the conversion.

impl From<ReceiptEvent> for Event
[src]

Performs the conversion.

impl From<AliasesEvent> for Event
[src]

Performs the conversion.

impl From<AvatarEvent> for Event
[src]

Performs the conversion.

impl From<CanonicalAliasEvent> for Event
[src]

Performs the conversion.

impl From<CreateEvent> for Event
[src]

Performs the conversion.

impl From<GuestAccessEvent> for Event
[src]

Performs the conversion.

impl From<HistoryVisibilityEvent> for Event
[src]

Performs the conversion.

impl From<JoinRulesEvent> for Event
[src]

Performs the conversion.

impl From<MemberEvent> for Event
[src]

Performs the conversion.

impl From<MessageEvent> for Event
[src]

Performs the conversion.

impl From<NameEvent> for Event
[src]

Performs the conversion.

impl From<PowerLevelsEvent> for Event
[src]

Performs the conversion.

impl From<RedactionEvent> for Event
[src]

Performs the conversion.

impl From<ThirdPartyInviteEvent> for Event
[src]

Performs the conversion.

impl From<TopicEvent> for Event
[src]

Performs the conversion.

impl From<TagEvent> for Event
[src]

Performs the conversion.

impl From<TypingEvent> for Event
[src]

Performs the conversion.

impl From<CustomEvent> for Event
[src]

Performs the conversion.

impl From<CustomRoomEvent> for Event
[src]

Performs the conversion.

impl From<CustomStateEvent> for Event
[src]

Performs the conversion.