matrix_sdk_base::ruma::events

Trait StaticEventContent

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

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

Required Associated Constants§

const TYPE: &'static str

The event type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl StaticEventContent for CallMemberEventContent

§

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

§

impl StaticEventContent for UnstablePollStartEventContent

§

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

Source§

impl StaticEventContent for RoomCreateWithCreatorEventContent

Source§

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

§

impl StaticEventContent for BeaconEventContent

§

const TYPE: &'static str = "org.matrix.msc3672.beacon"

§

impl StaticEventContent for RedactedBeaconEventContent

§

const TYPE: &'static str = "org.matrix.msc3672.beacon"

§

impl StaticEventContent for BeaconInfoEventContent

§

const TYPE: &'static str = "org.matrix.msc3672.beacon_info"

§

impl StaticEventContent for PossiblyRedactedBeaconInfoEventContent

§

const TYPE: &'static str = "org.matrix.msc3672.beacon_info"

§

impl StaticEventContent for RedactedBeaconInfoEventContent

§

const TYPE: &'static str = "org.matrix.msc3672.beacon_info"

§

impl StaticEventContent for CallAnswerEventContent

§

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

§

impl StaticEventContent for RedactedCallAnswerEventContent

§

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

§

impl StaticEventContent for CallCandidatesEventContent

§

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

§

impl StaticEventContent for RedactedCallCandidatesEventContent

§

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

§

impl StaticEventContent for CallHangupEventContent

§

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

§

impl StaticEventContent for RedactedCallHangupEventContent

§

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

§

impl StaticEventContent for CallInviteEventContent

§

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

§

impl StaticEventContent for RedactedCallInviteEventContent

§

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

§

impl StaticEventContent for CallNegotiateEventContent

§

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

§

impl StaticEventContent for RedactedCallNegotiateEventContent

§

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

§

impl StaticEventContent for CallNotifyEventContent

§

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

§

impl StaticEventContent for RedactedCallNotifyEventContent

§

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

§

impl StaticEventContent for CallRejectEventContent

§

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

§

impl StaticEventContent for RedactedCallRejectEventContent

§

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

§

impl StaticEventContent for CallSdpStreamMetadataChangedEventContent

§

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

§

impl StaticEventContent for RedactedCallSdpStreamMetadataChangedEventContent

§

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

§

impl StaticEventContent for CallSelectAnswerEventContent

§

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

§

impl StaticEventContent for RedactedCallSelectAnswerEventContent

§

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

§

impl StaticEventContent for DirectEventContent

§

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

§

impl StaticEventContent for ToDeviceDummyEventContent

§

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

§

impl StaticEventContent for ToDeviceForwardedRoomKeyEventContent

§

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

§

impl StaticEventContent for FullyReadEventContent

§

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

§

impl StaticEventContent for IdentityServerEventContent

§

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

§

impl StaticEventContent for IgnoredUserListEventContent

§

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

§

impl StaticEventContent for KeyVerificationAcceptEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationAcceptEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationAcceptEventContent

§

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

§

impl StaticEventContent for KeyVerificationCancelEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationCancelEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationCancelEventContent

§

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

§

impl StaticEventContent for KeyVerificationDoneEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationDoneEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationDoneEventContent

§

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

§

impl StaticEventContent for KeyVerificationKeyEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationKeyEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationKeyEventContent

§

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

§

impl StaticEventContent for KeyVerificationMacEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationMacEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationMacEventContent

§

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

§

impl StaticEventContent for KeyVerificationReadyEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationReadyEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationReadyEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationRequestEventContent

§

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

§

impl StaticEventContent for KeyVerificationStartEventContent

§

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

§

impl StaticEventContent for RedactedKeyVerificationStartEventContent

§

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

§

impl StaticEventContent for ToDeviceKeyVerificationStartEventContent

§

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

§

impl StaticEventContent for LocationEventContent

§

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

§

impl StaticEventContent for RedactedLocationEventContent

§

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

§

impl StaticEventContent for MarkedUnreadEventContent

§

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

§

impl StaticEventContent for UnstableMarkedUnreadEventContent

§

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

§

impl StaticEventContent for MemberHintsEventContent

§

const TYPE: &'static str = "io.element.functional_members"

§

impl StaticEventContent for PossiblyRedactedMemberHintsEventContent

§

const TYPE: &'static str = "io.element.functional_members"

§

impl StaticEventContent for RedactedMemberHintsEventContent

§

const TYPE: &'static str = "io.element.functional_members"

§

impl StaticEventContent for MessageEventContent

§

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

§

impl StaticEventContent for RedactedMessageEventContent

§

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

§

impl StaticEventContent for PolicyRuleRoomEventContent

§

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

§

impl StaticEventContent for RedactedPolicyRuleRoomEventContent

§

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

§

impl StaticEventContent for PolicyRuleServerEventContent

§

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

§

impl StaticEventContent for RedactedPolicyRuleServerEventContent

§

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

§

impl StaticEventContent for PolicyRuleUserEventContent

§

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

§

impl StaticEventContent for RedactedPolicyRuleUserEventContent

§

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

§

impl StaticEventContent for PollEndEventContent

§

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

§

impl StaticEventContent for RedactedPollEndEventContent

§

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

§

impl StaticEventContent for PollResponseEventContent

§

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

§

impl StaticEventContent for RedactedPollResponseEventContent

§

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

§

impl StaticEventContent for PollStartEventContent

§

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

§

impl StaticEventContent for RedactedPollStartEventContent

§

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

§

impl StaticEventContent for RedactedUnstablePollEndEventContent

§

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

§

impl StaticEventContent for UnstablePollEndEventContent

§

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

§

impl StaticEventContent for RedactedUnstablePollResponseEventContent

§

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

§

impl StaticEventContent for UnstablePollResponseEventContent

§

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

§

impl StaticEventContent for NewUnstablePollStartEventContent

§

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

§

impl StaticEventContent for RedactedUnstablePollStartEventContent

§

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

§

impl StaticEventContent for ReplacementUnstablePollStartEventContent

§

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

§

impl StaticEventContent for PresenceEventContent

§

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

§

impl StaticEventContent for PushRulesEventContent

§

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

§

impl StaticEventContent for ReactionEventContent

§

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

§

impl StaticEventContent for RedactedReactionEventContent

§

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

§

impl StaticEventContent for ReceiptEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomAliasesEventContent

§

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

§

impl StaticEventContent for RoomAliasesEventContent

§

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

§

impl StaticEventContent for RedactedRoomAvatarEventContent

§

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

§

impl StaticEventContent for RoomAvatarEventContent

§

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

§

impl StaticEventContent for RedactedRoomCanonicalAliasEventContent

§

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

§

impl StaticEventContent for RoomCanonicalAliasEventContent

§

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

§

impl StaticEventContent for RoomCreateEventContent

§

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

§

impl StaticEventContent for RedactedRoomEncryptedEventContent

§

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

§

impl StaticEventContent for RoomEncryptedEventContent

§

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

§

impl StaticEventContent for ToDeviceRoomEncryptedEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomEncryptionEventContent

§

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

§

impl StaticEventContent for RedactedRoomEncryptionEventContent

§

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

§

impl StaticEventContent for RoomEncryptionEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomGuestAccessEventContent

§

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

§

impl StaticEventContent for RedactedRoomGuestAccessEventContent

§

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

§

impl StaticEventContent for RoomGuestAccessEventContent

§

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

§

impl StaticEventContent for RedactedRoomHistoryVisibilityEventContent

§

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

§

impl StaticEventContent for RoomHistoryVisibilityEventContent

§

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

§

impl StaticEventContent for RedactedRoomJoinRulesEventContent

§

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

§

impl StaticEventContent for RoomJoinRulesEventContent

§

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

§

impl StaticEventContent for RoomMemberEventContent

§

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

§

impl StaticEventContent for RedactedRoomMessageEventContent

§

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

§

impl StaticEventContent for RoomMessageEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomNameEventContent

§

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

§

impl StaticEventContent for RedactedRoomNameEventContent

§

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

§

impl StaticEventContent for RoomNameEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomPinnedEventsEventContent

§

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

§

impl StaticEventContent for RedactedRoomPinnedEventsEventContent

§

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

§

impl StaticEventContent for RoomPinnedEventsEventContent

§

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

§

impl StaticEventContent for RedactedRoomPowerLevelsEventContent

§

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

§

impl StaticEventContent for RoomPowerLevelsEventContent

§

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

§

impl StaticEventContent for RedactedRoomRedactionEventContent

§

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

§

impl StaticEventContent for RoomRedactionEventContent

§

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

§

impl StaticEventContent for RedactedRoomServerAclEventContent

§

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

§

impl StaticEventContent for RoomServerAclEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomThirdPartyInviteEventContent

§

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

§

impl StaticEventContent for RedactedRoomThirdPartyInviteEventContent

§

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

§

impl StaticEventContent for RoomThirdPartyInviteEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomTombstoneEventContent

§

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

§

impl StaticEventContent for RedactedRoomTombstoneEventContent

§

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

§

impl StaticEventContent for RoomTombstoneEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedRoomTopicEventContent

§

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

§

impl StaticEventContent for RedactedRoomTopicEventContent

§

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

§

impl StaticEventContent for RoomTopicEventContent

§

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

§

impl StaticEventContent for ToDeviceRoomKeyEventContent

§

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

§

impl StaticEventContent for ToDeviceRoomKeyRequestEventContent

§

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

§

impl StaticEventContent for ToDeviceSecretRequestEventContent

§

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

§

impl StaticEventContent for ToDeviceSecretSendEventContent

§

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

§

impl StaticEventContent for SecretStorageDefaultKeyEventContent

§

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

§

impl StaticEventContent for SecretStorageKeyEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedSpaceChildEventContent

§

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

§

impl StaticEventContent for RedactedSpaceChildEventContent

§

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

§

impl StaticEventContent for SpaceChildEventContent

§

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

§

impl StaticEventContent for PossiblyRedactedSpaceParentEventContent

§

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

§

impl StaticEventContent for RedactedSpaceParentEventContent

§

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

§

impl StaticEventContent for SpaceParentEventContent

§

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

§

impl StaticEventContent for RedactedStickerEventContent

§

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

§

impl StaticEventContent for StickerEventContent

§

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

§

impl StaticEventContent for TagEventContent

§

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

§

impl StaticEventContent for TypingEventContent

§

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