Enum ruma_events::MessageEventType [−][src]
pub enum MessageEventType {}Show 17 variants
CallAnswer, CallInvite, CallHangup, CallCandidates, KeyVerificationReady, KeyVerificationStart, KeyVerificationCancel, KeyVerificationAccept, KeyVerificationKey, KeyVerificationMac, KeyVerificationDone, Reaction, RoomEncrypted, RoomMessage, RoomMessageFeedback, RoomRedaction, Sticker, // some variants omitted
Expand description
The type of MessageEventType
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
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 MessageEventType
impl Send for MessageEventType
impl Sync for MessageEventType
impl Unpin for MessageEventType
impl UnwindSafe for MessageEventType
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