ruma_events

Trait StaticEventContent

Source
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.

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§

Source§

impl StaticEventContent for CallMemberEventContent

Source§

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

Source§

impl StaticEventContent for UnstablePollStartEventContent

Source§

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

Source§

impl StaticEventContent for BeaconEventContent

Source§

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

Source§

impl StaticEventContent for RedactedBeaconEventContent

Source§

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

Source§

impl StaticEventContent for BeaconInfoEventContent

Source§

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

Source§

impl StaticEventContent for PossiblyRedactedBeaconInfoEventContent

Source§

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

Source§

impl StaticEventContent for RedactedBeaconInfoEventContent

Source§

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

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 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 CallSdpStreamMetadataChangedEventContent

Source§

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

Source§

impl StaticEventContent for RedactedCallSdpStreamMetadataChangedEventContent

Source§

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

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 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 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 = "m.marked_unread"

Source§

impl StaticEventContent for UnstableMarkedUnreadEventContent

Source§

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

Source§

impl StaticEventContent for MemberHintsEventContent

Source§

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

Source§

impl StaticEventContent for PossiblyRedactedMemberHintsEventContent

Source§

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

Source§

impl StaticEventContent for RedactedMemberHintsEventContent

Source§

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

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 PossiblyRedactedRoomThirdPartyInviteEventContent

Source§

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

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"