Enum ruma_events::AnyMessageEventContent [−][src]
pub enum AnyMessageEventContent {}Show variants
CallAnswer(AnswerEventContent), CallInvite(InviteEventContent), CallHangup(HangupEventContent), CallCandidates(CandidatesEventContent), KeyVerificationReady(ReadyEventContent), KeyVerificationStart(StartEventContent), KeyVerificationCancel(CancelEventContent), KeyVerificationAccept(AcceptEventContent), KeyVerificationKey(KeyEventContent), KeyVerificationMac(MacEventContent), KeyVerificationDone(DoneEventContent), Reaction(ReactionEventContent), RoomEncrypted(EncryptedEventContent), RoomMessage(MessageEventContent), RoomMessageFeedback(FeedbackEventContent), RoomRedaction(RedactionEventContent), Sticker(StickerEventContent), // some variants omitted
Expand description
Any message event.
Variants
CallAnswer(AnswerEventContent)
m.call.answer
CallInvite(InviteEventContent)
m.call.invite
CallHangup(HangupEventContent)
m.call.hangup
CallCandidates(CandidatesEventContent)
m.call.candidates
KeyVerificationReady(ReadyEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.ready
KeyVerificationStart(StartEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.start
KeyVerificationCancel(CancelEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.cancel
KeyVerificationAccept(AcceptEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.accept
KeyVerificationKey(KeyEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.key
KeyVerificationMac(MacEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.mac
KeyVerificationDone(DoneEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.key.verification.done
Reaction(ReactionEventContent)
This is supported on crate feature
unstable-pre-spec
only.m.reaction
RoomEncrypted(EncryptedEventContent)
m.room.encrypted
RoomMessage(MessageEventContent)
m.room.message
RoomMessageFeedback(FeedbackEventContent)
m.room.message.feedback
RoomRedaction(RedactionEventContent)
m.room.redaction
Sticker(StickerEventContent)
m.sticker
Implementations
Trait Implementations
A matrix event identifier, like m.room.message
.
Constructs the given event content.
Redacts Self
given a RoomVersionId
.
The redacted form of the event’s content.
Auto Trait Implementations
impl RefUnwindSafe for AnyMessageEventContent
impl Send for AnyMessageEventContent
impl Sync for AnyMessageEventContent
impl Unpin for AnyMessageEventContent
impl UnwindSafe for AnyMessageEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V