pub trait StaticEventContent: EventContent {
    const TYPE: &'static str;
}
Expand description

An event content type with a statically-known event type value.

Required Associated Constants§

source

const TYPE: &'static str

The event type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl StaticEventContent for UnstablePollStartEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.start"

source§

impl StaticEventContent for AudioEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.audio"

source§

impl StaticEventContent for RedactedAudioEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.audio"

source§

impl StaticEventContent for CallAnswerEventContent

source§

const TYPE: &'static str = "m.call.answer"

source§

impl StaticEventContent for RedactedCallAnswerEventContent

source§

const TYPE: &'static str = "m.call.answer"

source§

impl StaticEventContent for CallCandidatesEventContent

source§

const TYPE: &'static str = "m.call.candidates"

source§

impl StaticEventContent for RedactedCallCandidatesEventContent

source§

const TYPE: &'static str = "m.call.candidates"

source§

impl StaticEventContent for CallHangupEventContent

source§

const TYPE: &'static str = "m.call.hangup"

source§

impl StaticEventContent for RedactedCallHangupEventContent

source§

const TYPE: &'static str = "m.call.hangup"

source§

impl StaticEventContent for CallInviteEventContent

source§

const TYPE: &'static str = "m.call.invite"

source§

impl StaticEventContent for RedactedCallInviteEventContent

source§

const TYPE: &'static str = "m.call.invite"

source§

impl StaticEventContent for CallMemberEventContent

source§

const TYPE: &'static str = "org.matrix.msc3401.call.member"

source§

impl StaticEventContent for PossiblyRedactedCallMemberEventContent

source§

const TYPE: &'static str = "org.matrix.msc3401.call.member"

source§

impl StaticEventContent for RedactedCallMemberEventContent

source§

const TYPE: &'static str = "org.matrix.msc3401.call.member"

source§

impl StaticEventContent for CallNegotiateEventContent

source§

const TYPE: &'static str = "m.call.negotiate"

source§

impl StaticEventContent for RedactedCallNegotiateEventContent

source§

const TYPE: &'static str = "m.call.negotiate"

source§

impl StaticEventContent for CallNotifyEventContent

source§

const TYPE: &'static str = "m.call.notify"

source§

impl StaticEventContent for RedactedCallNotifyEventContent

source§

const TYPE: &'static str = "m.call.notify"

source§

impl StaticEventContent for CallRejectEventContent

source§

const TYPE: &'static str = "m.call.reject"

source§

impl StaticEventContent for RedactedCallRejectEventContent

source§

const TYPE: &'static str = "m.call.reject"

source§

impl StaticEventContent for CallSelectAnswerEventContent

source§

const TYPE: &'static str = "m.call.select_answer"

source§

impl StaticEventContent for RedactedCallSelectAnswerEventContent

source§

const TYPE: &'static str = "m.call.select_answer"

source§

impl StaticEventContent for DirectEventContent

source§

const TYPE: &'static str = "m.direct"

source§

impl StaticEventContent for ToDeviceDummyEventContent

source§

const TYPE: &'static str = "m.dummy"

source§

impl StaticEventContent for EmoteEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.emote"

source§

impl StaticEventContent for RedactedEmoteEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.emote"

source§

impl StaticEventContent for EncryptedEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.encrypted"

source§

impl StaticEventContent for RedactedEncryptedEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.encrypted"

source§

impl StaticEventContent for FileEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.file"

source§

impl StaticEventContent for RedactedFileEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.file"

source§

impl StaticEventContent for ToDeviceForwardedRoomKeyEventContent

source§

const TYPE: &'static str = "m.forwarded_room_key"

source§

impl StaticEventContent for FullyReadEventContent

source§

const TYPE: &'static str = "m.fully_read"

source§

impl StaticEventContent for IdentityServerEventContent

source§

const TYPE: &'static str = "m.identity_server"

source§

impl StaticEventContent for IgnoredUserListEventContent

source§

const TYPE: &'static str = "m.ignored_user_list"

source§

impl StaticEventContent for ImageEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.image"

source§

impl StaticEventContent for RedactedImageEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.image"

source§

impl StaticEventContent for KeyVerificationAcceptEventContent

source§

const TYPE: &'static str = "m.key.verification.accept"

source§

impl StaticEventContent for RedactedKeyVerificationAcceptEventContent

source§

const TYPE: &'static str = "m.key.verification.accept"

source§

impl StaticEventContent for ToDeviceKeyVerificationAcceptEventContent

source§

const TYPE: &'static str = "m.key.verification.accept"

source§

impl StaticEventContent for KeyVerificationCancelEventContent

source§

const TYPE: &'static str = "m.key.verification.cancel"

source§

impl StaticEventContent for RedactedKeyVerificationCancelEventContent

source§

const TYPE: &'static str = "m.key.verification.cancel"

source§

impl StaticEventContent for ToDeviceKeyVerificationCancelEventContent

source§

const TYPE: &'static str = "m.key.verification.cancel"

source§

impl StaticEventContent for KeyVerificationDoneEventContent

source§

const TYPE: &'static str = "m.key.verification.done"

source§

impl StaticEventContent for RedactedKeyVerificationDoneEventContent

source§

const TYPE: &'static str = "m.key.verification.done"

source§

impl StaticEventContent for ToDeviceKeyVerificationDoneEventContent

source§

const TYPE: &'static str = "m.key.verification.done"

source§

impl StaticEventContent for KeyVerificationKeyEventContent

source§

const TYPE: &'static str = "m.key.verification.key"

source§

impl StaticEventContent for RedactedKeyVerificationKeyEventContent

source§

const TYPE: &'static str = "m.key.verification.key"

source§

impl StaticEventContent for ToDeviceKeyVerificationKeyEventContent

source§

const TYPE: &'static str = "m.key.verification.key"

source§

impl StaticEventContent for KeyVerificationMacEventContent

source§

const TYPE: &'static str = "m.key.verification.mac"

source§

impl StaticEventContent for RedactedKeyVerificationMacEventContent

source§

const TYPE: &'static str = "m.key.verification.mac"

source§

impl StaticEventContent for ToDeviceKeyVerificationMacEventContent

source§

const TYPE: &'static str = "m.key.verification.mac"

source§

impl StaticEventContent for KeyVerificationReadyEventContent

source§

const TYPE: &'static str = "m.key.verification.ready"

source§

impl StaticEventContent for RedactedKeyVerificationReadyEventContent

source§

const TYPE: &'static str = "m.key.verification.ready"

source§

impl StaticEventContent for ToDeviceKeyVerificationReadyEventContent

source§

const TYPE: &'static str = "m.key.verification.ready"

source§

impl StaticEventContent for ToDeviceKeyVerificationRequestEventContent

source§

const TYPE: &'static str = "m.key.verification.request"

source§

impl StaticEventContent for KeyVerificationStartEventContent

source§

const TYPE: &'static str = "m.key.verification.start"

source§

impl StaticEventContent for RedactedKeyVerificationStartEventContent

source§

const TYPE: &'static str = "m.key.verification.start"

source§

impl StaticEventContent for ToDeviceKeyVerificationStartEventContent

source§

const TYPE: &'static str = "m.key.verification.start"

source§

impl StaticEventContent for LocationEventContent

source§

const TYPE: &'static str = "m.location"

source§

impl StaticEventContent for RedactedLocationEventContent

source§

const TYPE: &'static str = "m.location"

source§

impl StaticEventContent for MarkedUnreadEventContent

source§

const TYPE: &'static str = "com.famedly.marked_unread"

source§

impl StaticEventContent for MessageEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.message"

source§

impl StaticEventContent for RedactedMessageEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.message"

source§

impl StaticEventContent for PolicyRuleRoomEventContent

source§

const TYPE: &'static str = "m.policy.rule.room"

source§

impl StaticEventContent for RedactedPolicyRuleRoomEventContent

source§

const TYPE: &'static str = "m.policy.rule.room"

source§

impl StaticEventContent for PolicyRuleServerEventContent

source§

const TYPE: &'static str = "m.policy.rule.server"

source§

impl StaticEventContent for RedactedPolicyRuleServerEventContent

source§

const TYPE: &'static str = "m.policy.rule.server"

source§

impl StaticEventContent for PolicyRuleUserEventContent

source§

const TYPE: &'static str = "m.policy.rule.user"

source§

impl StaticEventContent for RedactedPolicyRuleUserEventContent

source§

const TYPE: &'static str = "m.policy.rule.user"

source§

impl StaticEventContent for PollEndEventContent

source§

const TYPE: &'static str = "m.poll.end"

source§

impl StaticEventContent for RedactedPollEndEventContent

source§

const TYPE: &'static str = "m.poll.end"

source§

impl StaticEventContent for PollResponseEventContent

source§

const TYPE: &'static str = "m.poll.response"

source§

impl StaticEventContent for RedactedPollResponseEventContent

source§

const TYPE: &'static str = "m.poll.response"

source§

impl StaticEventContent for PollStartEventContent

source§

const TYPE: &'static str = "m.poll.start"

source§

impl StaticEventContent for RedactedPollStartEventContent

source§

const TYPE: &'static str = "m.poll.start"

source§

impl StaticEventContent for RedactedUnstablePollEndEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.end"

source§

impl StaticEventContent for UnstablePollEndEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.end"

source§

impl StaticEventContent for RedactedUnstablePollResponseEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.response"

source§

impl StaticEventContent for UnstablePollResponseEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.response"

source§

impl StaticEventContent for NewUnstablePollStartEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.start"

source§

impl StaticEventContent for RedactedUnstablePollStartEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.start"

source§

impl StaticEventContent for ReplacementUnstablePollStartEventContent

source§

const TYPE: &'static str = "org.matrix.msc3381.poll.start"

source§

impl StaticEventContent for PresenceEventContent

source§

const TYPE: &'static str = "m.presence"

source§

impl StaticEventContent for PushRulesEventContent

source§

const TYPE: &'static str = "m.push_rules"

source§

impl StaticEventContent for ReactionEventContent

source§

const TYPE: &'static str = "m.reaction"

source§

impl StaticEventContent for RedactedReactionEventContent

source§

const TYPE: &'static str = "m.reaction"

source§

impl StaticEventContent for ReceiptEventContent

source§

const TYPE: &'static str = "m.receipt"

source§

impl StaticEventContent for PossiblyRedactedRoomAliasesEventContent

source§

const TYPE: &'static str = "m.room.aliases"

source§

impl StaticEventContent for RoomAliasesEventContent

source§

const TYPE: &'static str = "m.room.aliases"

source§

impl StaticEventContent for RedactedRoomAvatarEventContent

source§

const TYPE: &'static str = "m.room.avatar"

source§

impl StaticEventContent for RoomAvatarEventContent

source§

const TYPE: &'static str = "m.room.avatar"

source§

impl StaticEventContent for RedactedRoomCanonicalAliasEventContent

source§

const TYPE: &'static str = "m.room.canonical_alias"

source§

impl StaticEventContent for RoomCanonicalAliasEventContent

source§

const TYPE: &'static str = "m.room.canonical_alias"

source§

impl StaticEventContent for RoomCreateEventContent

source§

const TYPE: &'static str = "m.room.create"

source§

impl StaticEventContent for RedactedRoomEncryptedEventContent

source§

const TYPE: &'static str = "m.room.encrypted"

source§

impl StaticEventContent for RoomEncryptedEventContent

source§

const TYPE: &'static str = "m.room.encrypted"

source§

impl StaticEventContent for ToDeviceRoomEncryptedEventContent

source§

const TYPE: &'static str = "m.room.encrypted"

source§

impl StaticEventContent for PossiblyRedactedRoomEncryptionEventContent

source§

const TYPE: &'static str = "m.room.encryption"

source§

impl StaticEventContent for RedactedRoomEncryptionEventContent

source§

const TYPE: &'static str = "m.room.encryption"

source§

impl StaticEventContent for RoomEncryptionEventContent

source§

const TYPE: &'static str = "m.room.encryption"

source§

impl StaticEventContent for PossiblyRedactedRoomGuestAccessEventContent

source§

const TYPE: &'static str = "m.room.guest_access"

source§

impl StaticEventContent for RedactedRoomGuestAccessEventContent

source§

const TYPE: &'static str = "m.room.guest_access"

source§

impl StaticEventContent for RoomGuestAccessEventContent

source§

const TYPE: &'static str = "m.room.guest_access"

source§

impl StaticEventContent for RedactedRoomHistoryVisibilityEventContent

source§

const TYPE: &'static str = "m.room.history_visibility"

source§

impl StaticEventContent for RoomHistoryVisibilityEventContent

source§

const TYPE: &'static str = "m.room.history_visibility"

source§

impl StaticEventContent for RedactedRoomJoinRulesEventContent

source§

const TYPE: &'static str = "m.room.join_rules"

source§

impl StaticEventContent for RoomJoinRulesEventContent

source§

const TYPE: &'static str = "m.room.join_rules"

source§

impl StaticEventContent for RoomMemberEventContent

source§

const TYPE: &'static str = "m.room.member"

source§

impl StaticEventContent for RedactedRoomMessageEventContent

source§

const TYPE: &'static str = "m.room.message"

source§

impl StaticEventContent for RoomMessageEventContent

source§

const TYPE: &'static str = "m.room.message"

source§

impl StaticEventContent for PossiblyRedactedRoomNameEventContent

source§

const TYPE: &'static str = "m.room.name"

source§

impl StaticEventContent for RedactedRoomNameEventContent

source§

const TYPE: &'static str = "m.room.name"

source§

impl StaticEventContent for RoomNameEventContent

source§

const TYPE: &'static str = "m.room.name"

source§

impl StaticEventContent for PossiblyRedactedRoomPinnedEventsEventContent

source§

const TYPE: &'static str = "m.room.pinned_events"

source§

impl StaticEventContent for RedactedRoomPinnedEventsEventContent

source§

const TYPE: &'static str = "m.room.pinned_events"

source§

impl StaticEventContent for RoomPinnedEventsEventContent

source§

const TYPE: &'static str = "m.room.pinned_events"

source§

impl StaticEventContent for RedactedRoomPowerLevelsEventContent

source§

const TYPE: &'static str = "m.room.power_levels"

source§

impl StaticEventContent for RoomPowerLevelsEventContent

source§

const TYPE: &'static str = "m.room.power_levels"

source§

impl StaticEventContent for RedactedRoomRedactionEventContent

source§

const TYPE: &'static str = "m.room.redaction"

source§

impl StaticEventContent for RoomRedactionEventContent

source§

const TYPE: &'static str = "m.room.redaction"

source§

impl StaticEventContent for RedactedRoomServerAclEventContent

source§

const TYPE: &'static str = "m.room.server_acl"

source§

impl StaticEventContent for RoomServerAclEventContent

source§

const TYPE: &'static str = "m.room.server_acl"

source§

impl StaticEventContent for RedactedRoomThirdPartyInviteEventContent

source§

const TYPE: &'static str = "m.room.third_party_invite"

source§

impl StaticEventContent for RoomThirdPartyInviteEventContent

source§

const TYPE: &'static str = "m.room.third_party_invite"

source§

impl StaticEventContent for PossiblyRedactedRoomTombstoneEventContent

source§

const TYPE: &'static str = "m.room.tombstone"

source§

impl StaticEventContent for RedactedRoomTombstoneEventContent

source§

const TYPE: &'static str = "m.room.tombstone"

source§

impl StaticEventContent for RoomTombstoneEventContent

source§

const TYPE: &'static str = "m.room.tombstone"

source§

impl StaticEventContent for PossiblyRedactedRoomTopicEventContent

source§

const TYPE: &'static str = "m.room.topic"

source§

impl StaticEventContent for RedactedRoomTopicEventContent

source§

const TYPE: &'static str = "m.room.topic"

source§

impl StaticEventContent for RoomTopicEventContent

source§

const TYPE: &'static str = "m.room.topic"

source§

impl StaticEventContent for ToDeviceRoomKeyEventContent

source§

const TYPE: &'static str = "m.room_key"

source§

impl StaticEventContent for ToDeviceRoomKeyRequestEventContent

source§

const TYPE: &'static str = "m.room_key_request"

source§

impl StaticEventContent for ToDeviceSecretRequestEventContent

source§

const TYPE: &'static str = "m.secret.request"

source§

impl StaticEventContent for ToDeviceSecretSendEventContent

source§

const TYPE: &'static str = "m.secret.send"

source§

impl StaticEventContent for SecretStorageDefaultKeyEventContent

source§

const TYPE: &'static str = "m.secret_storage.default_key"

source§

impl StaticEventContent for SecretStorageKeyEventContent

source§

const TYPE: &'static str = "m.secret_storage.key.*"

source§

impl StaticEventContent for PossiblyRedactedSpaceChildEventContent

source§

const TYPE: &'static str = "m.space.child"

source§

impl StaticEventContent for RedactedSpaceChildEventContent

source§

const TYPE: &'static str = "m.space.child"

source§

impl StaticEventContent for SpaceChildEventContent

source§

const TYPE: &'static str = "m.space.child"

source§

impl StaticEventContent for PossiblyRedactedSpaceParentEventContent

source§

const TYPE: &'static str = "m.space.parent"

source§

impl StaticEventContent for RedactedSpaceParentEventContent

source§

const TYPE: &'static str = "m.space.parent"

source§

impl StaticEventContent for SpaceParentEventContent

source§

const TYPE: &'static str = "m.space.parent"

source§

impl StaticEventContent for RedactedStickerEventContent

source§

const TYPE: &'static str = "m.sticker"

source§

impl StaticEventContent for StickerEventContent

source§

const TYPE: &'static str = "m.sticker"

source§

impl StaticEventContent for TagEventContent

source§

const TYPE: &'static str = "m.tag"

source§

impl StaticEventContent for TypingEventContent

source§

const TYPE: &'static str = "m.typing"

source§

impl StaticEventContent for RedactedVideoEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.video"

source§

impl StaticEventContent for VideoEventContent

source§

const TYPE: &'static str = "org.matrix.msc1767.video"

source§

impl StaticEventContent for RedactedVoiceEventContent

source§

const TYPE: &'static str = "org.matrix.msc3245.voice.v2"

source§

impl StaticEventContent for VoiceEventContent

source§

const TYPE: &'static str = "org.matrix.msc3245.voice.v2"