Trait StaticEventContent

Source
pub trait StaticEventContent: Sized {
    type IsPrefix: BooleanType;

    const TYPE: &'static str;
}
Expand description

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

Note that the TYPE might not be the full event type. If IsPrefix is set to True, it only contains the statically-known prefix of the event type.

To only support full event types, the bound StaticEventContent<IsPrefix = False> can be used.

Required Associated Constants§

Source

const TYPE: &'static str

The statically-known part of the event type.

If this is only the prefix of the event type, it should end with ., which is usually used a separator in Matrix event types.

Required Associated Types§

Source

type IsPrefix: BooleanType

Whether the statically-known part of the event type is the prefix.

Should be set to the True or False types.

Ideally this should be a boolean associated constant, but associated constant equality is unstable, so this field could not be used as a bound. Instead we use an associated type so we can rely on associated type equality.

If this is set to False, the TYPE is the full 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§

type IsPrefix = False

Source§

impl StaticEventContent for UnstablePollStartEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for AudioEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedAudioEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for BeaconEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedBeaconEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for BeaconInfoEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedBeaconInfoEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedBeaconInfoEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallAnswerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallAnswerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallCandidatesEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallCandidatesEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallHangupEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallHangupEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallInviteEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallInviteEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallMemberEventContent

Source§

const TYPE: &'static str = CallMemberEventContent::TYPE

Source§

type IsPrefix = <CallMemberEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for CallNegotiateEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallNegotiateEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallNotifyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallNotifyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallRejectEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallRejectEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallSdpStreamMetadataChangedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallSdpStreamMetadataChangedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for CallSelectAnswerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedCallSelectAnswerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for DirectEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceDummyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for EmoteEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedEmoteEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for EncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedEncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for FileEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedFileEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceForwardedRoomKeyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for FullyReadEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for IdentityServerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for IgnoredUserListEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ImageEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedImageEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for AccountImagePackEventContent

Source§

const TYPE: &'static str = "im.ponies.user_emotes"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ImagePackRoomsEventContent

Source§

const TYPE: &'static str = "im.ponies.emote_rooms"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomImagePackEventContent

Source§

const TYPE: &'static str = "im.ponies.room_emotes"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomImagePackEventContent

Source§

const TYPE: &'static str = "im.ponies.room_emotes"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomImagePackEventContent

Source§

const TYPE: &'static str = "im.ponies.room_emotes"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationAcceptEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationAcceptEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationAcceptEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationCancelEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationCancelEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationCancelEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationDoneEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationDoneEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationDoneEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationKeyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationKeyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationKeyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationMacEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationMacEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationMacEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationReadyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationReadyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationReadyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationRequestEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for KeyVerificationStartEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedKeyVerificationStartEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceKeyVerificationStartEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for LocationEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedLocationEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for MarkedUnreadEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for UnstableMarkedUnreadEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for MediaPreviewConfigEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for UnstableMediaPreviewConfigEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for MemberHintsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedMemberHintsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedMemberHintsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for MessageEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedMessageEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PolicyRuleRoomEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedPolicyRuleRoomEventContent

Source§

const TYPE: &'static str = PolicyRuleRoomEventContent::TYPE

Source§

type IsPrefix = <PolicyRuleRoomEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RedactedPolicyRuleRoomEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PolicyRuleServerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedPolicyRuleServerEventContent

Source§

const TYPE: &'static str = PolicyRuleServerEventContent::TYPE

Source§

type IsPrefix = <PolicyRuleServerEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RedactedPolicyRuleServerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PolicyRuleUserEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedPolicyRuleUserEventContent

Source§

const TYPE: &'static str = PolicyRuleUserEventContent::TYPE

Source§

type IsPrefix = <PolicyRuleUserEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RedactedPolicyRuleUserEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PollEndEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedPollEndEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PollResponseEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedPollResponseEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PollStartEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedPollStartEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedUnstablePollEndEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for UnstablePollEndEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedUnstablePollResponseEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for UnstablePollResponseEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for NewUnstablePollStartEventContent

Source§

const TYPE: &'static str = UnstablePollStartEventContent::TYPE

Source§

type IsPrefix = <UnstablePollStartEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RedactedUnstablePollStartEventContent

Source§

const TYPE: &'static str = UnstablePollStartEventContent::TYPE

Source§

type IsPrefix = <UnstablePollStartEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for ReplacementUnstablePollStartEventContent

Source§

const TYPE: &'static str = UnstablePollStartEventContent::TYPE

Source§

type IsPrefix = <UnstablePollStartEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for PushRulesEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ReactionEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedReactionEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ReceiptEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomAliasesEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomAliasesEventContent

Source§

const TYPE: &'static str = RoomAliasesEventContent::TYPE

Source§

type IsPrefix = <RoomAliasesEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RoomAliasesEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomAvatarEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomAvatarEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomCanonicalAliasEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomCanonicalAliasEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomCreateEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomEncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomEncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceRoomEncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedStateRoomEncryptedEventContent

Source§

const TYPE: &'static str = StateRoomEncryptedEventContent::TYPE

Source§

type IsPrefix = <StateRoomEncryptedEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RedactedStateRoomEncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for StateRoomEncryptedEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomEncryptionEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomEncryptionEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomEncryptionEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomGuestAccessEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomGuestAccessEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomGuestAccessEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomHistoryVisibilityEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomHistoryVisibilityEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomJoinRulesEventContent

Source§

const TYPE: &'static str = RoomJoinRulesEventContent::TYPE

Source§

type IsPrefix = <RoomJoinRulesEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RoomJoinRulesEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomMemberEventContent

Source§

const TYPE: &'static str = RoomMemberEventContent::TYPE

Source§

type IsPrefix = <RoomMemberEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RoomMemberEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomMessageEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomMessageEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomNameEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomNameEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomNameEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomPinnedEventsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomPinnedEventsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomPinnedEventsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomPowerLevelsEventContent

Source§

const TYPE: &'static str = RoomPowerLevelsEventContent::TYPE

Source§

type IsPrefix = <RoomPowerLevelsEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RoomPowerLevelsEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomRedactionEventContent

Source§

const TYPE: &'static str = RoomRedactionEventContent::TYPE

Source§

type IsPrefix = <RoomRedactionEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RoomRedactionEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomServerAclEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomServerAclEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomThirdPartyInviteEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomThirdPartyInviteEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomTombstoneEventContent

Source§

const TYPE: &'static str = RoomTombstoneEventContent::TYPE

Source§

type IsPrefix = <RoomTombstoneEventContent as StaticEventContent>::IsPrefix

Source§

impl StaticEventContent for RedactedRoomTombstoneEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomTombstoneEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedRoomTopicEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRoomTopicEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RoomTopicEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceRoomKeyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceRoomKeyWithheldEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceRoomKeyBundleEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceRoomKeyRequestEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedRtcDeclineEventContent

Source§

const TYPE: &'static str = "org.matrix.msc4310.rtc.decline"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RtcDeclineEventContent

Source§

const TYPE: &'static str = "org.matrix.msc4310.rtc.decline"

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceSecretRequestEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for ToDeviceSecretSendEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for SecretStorageDefaultKeyEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for SecretStorageKeyEventContent

Source§

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

Source§

type IsPrefix = True

Source§

impl StaticEventContent for PossiblyRedactedSpaceChildEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedSpaceChildEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for SpaceChildEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for PossiblyRedactedSpaceParentEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedSpaceParentEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for SpaceParentEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedStickerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for StickerEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for TagEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for TypingEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedVideoEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for VideoEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for RedactedVoiceEventContent

Source§

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

Source§

type IsPrefix = False

Source§

impl StaticEventContent for VoiceEventContent

Source§

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

Source§

type IsPrefix = False