Trait ruma_common::events::StaticEventContent
source · [−]pub trait StaticEventContent: EventContent {
const KIND: EventKind;
const TYPE: &'static str;
}
Available on crate feature
events
only.Expand description
Trait for abstracting over event content structs.
… but not enums which don’t always have an event type and kind (e.g. message vs state) that’s fixed / known at compile time.
Required Associated Constants
Implementors
sourceimpl StaticEventContent for AudioEventContent
Available on crate feature unstable-msc3246
only.
impl StaticEventContent for AudioEventContent
Available on crate feature
unstable-msc3246
only.sourceimpl StaticEventContent for RedactedAudioEventContent
Available on crate feature unstable-msc3246
only.
impl StaticEventContent for RedactedAudioEventContent
Available on crate feature
unstable-msc3246
only.sourceimpl StaticEventContent for CallNegotiateEventContent
Available on crate feature unstable-msc2746
only.
impl StaticEventContent for CallNegotiateEventContent
Available on crate feature
unstable-msc2746
only.sourceimpl StaticEventContent for RedactedCallNegotiateEventContent
Available on crate feature unstable-msc2746
only.
impl StaticEventContent for RedactedCallNegotiateEventContent
Available on crate feature
unstable-msc2746
only.sourceimpl StaticEventContent for CallRejectEventContent
Available on crate feature unstable-msc2746
only.
impl StaticEventContent for CallRejectEventContent
Available on crate feature
unstable-msc2746
only.sourceimpl StaticEventContent for RedactedCallRejectEventContent
Available on crate feature unstable-msc2746
only.
impl StaticEventContent for RedactedCallRejectEventContent
Available on crate feature
unstable-msc2746
only.sourceimpl StaticEventContent for CallSelectAnswerEventContent
Available on crate feature unstable-msc2746
only.
impl StaticEventContent for CallSelectAnswerEventContent
Available on crate feature
unstable-msc2746
only.sourceimpl StaticEventContent for RedactedCallSelectAnswerEventContent
Available on crate feature unstable-msc2746
only.
impl StaticEventContent for RedactedCallSelectAnswerEventContent
Available on crate feature
unstable-msc2746
only.sourceimpl StaticEventContent for EmoteEventContent
Available on crate feature unstable-msc1767
only.
impl StaticEventContent for EmoteEventContent
Available on crate feature
unstable-msc1767
only.sourceimpl StaticEventContent for RedactedEmoteEventContent
Available on crate feature unstable-msc1767
only.
impl StaticEventContent for RedactedEmoteEventContent
Available on crate feature
unstable-msc1767
only.sourceimpl StaticEventContent for FileEventContent
Available on crate feature unstable-msc3551
only.
impl StaticEventContent for FileEventContent
Available on crate feature
unstable-msc3551
only.sourceimpl StaticEventContent for RedactedFileEventContent
Available on crate feature unstable-msc3551
only.
impl StaticEventContent for RedactedFileEventContent
Available on crate feature
unstable-msc3551
only.sourceimpl StaticEventContent for ImageEventContent
Available on crate feature unstable-msc3552
only.
impl StaticEventContent for ImageEventContent
Available on crate feature
unstable-msc3552
only.sourceimpl StaticEventContent for RedactedImageEventContent
Available on crate feature unstable-msc3552
only.
impl StaticEventContent for RedactedImageEventContent
Available on crate feature
unstable-msc3552
only.sourceimpl StaticEventContent for LocationEventContent
Available on crate feature unstable-msc3488
only.
impl StaticEventContent for LocationEventContent
Available on crate feature
unstable-msc3488
only.sourceimpl StaticEventContent for RedactedLocationEventContent
Available on crate feature unstable-msc3488
only.
impl StaticEventContent for RedactedLocationEventContent
Available on crate feature
unstable-msc3488
only.sourceimpl StaticEventContent for MessageEventContent
Available on crate feature unstable-msc1767
only.
impl StaticEventContent for MessageEventContent
Available on crate feature
unstable-msc1767
only.sourceimpl StaticEventContent for RedactedMessageEventContent
Available on crate feature unstable-msc1767
only.
impl StaticEventContent for RedactedMessageEventContent
Available on crate feature
unstable-msc1767
only.sourceimpl StaticEventContent for NoticeEventContent
Available on crate feature unstable-msc1767
only.
impl StaticEventContent for NoticeEventContent
Available on crate feature
unstable-msc1767
only.sourceimpl StaticEventContent for RedactedNoticeEventContent
Available on crate feature unstable-msc1767
only.
impl StaticEventContent for RedactedNoticeEventContent
Available on crate feature
unstable-msc1767
only.sourceimpl StaticEventContent for PollEndEventContent
Available on crate feature unstable-msc3381
only.
impl StaticEventContent for PollEndEventContent
Available on crate feature
unstable-msc3381
only.sourceimpl StaticEventContent for RedactedPollEndEventContent
Available on crate feature unstable-msc3381
only.
impl StaticEventContent for RedactedPollEndEventContent
Available on crate feature
unstable-msc3381
only.sourceimpl StaticEventContent for PollResponseEventContent
Available on crate feature unstable-msc3381
only.
impl StaticEventContent for PollResponseEventContent
Available on crate feature
unstable-msc3381
only.sourceimpl StaticEventContent for RedactedPollResponseEventContent
Available on crate feature unstable-msc3381
only.
impl StaticEventContent for RedactedPollResponseEventContent
Available on crate feature
unstable-msc3381
only.sourceimpl StaticEventContent for PollStartEventContent
Available on crate feature unstable-msc3381
only.
impl StaticEventContent for PollStartEventContent
Available on crate feature
unstable-msc3381
only.sourceimpl StaticEventContent for RedactedPollStartEventContent
Available on crate feature unstable-msc3381
only.
impl StaticEventContent for RedactedPollStartEventContent
Available on crate feature
unstable-msc3381
only.sourceimpl StaticEventContent for ReactionEventContent
Available on crate feature unstable-msc2677
only.
impl StaticEventContent for ReactionEventContent
Available on crate feature
unstable-msc2677
only.sourceimpl StaticEventContent for RedactedReactionEventContent
Available on crate feature unstable-msc2677
only.
impl StaticEventContent for RedactedReactionEventContent
Available on crate feature
unstable-msc2677
only.sourceimpl StaticEventContent for TagEventContent
impl StaticEventContent for TagEventContent
sourceimpl StaticEventContent for RedactedVideoEventContent
Available on crate feature unstable-msc3553
only.
impl StaticEventContent for RedactedVideoEventContent
Available on crate feature
unstable-msc3553
only.sourceimpl StaticEventContent for VideoEventContent
Available on crate feature unstable-msc3553
only.
impl StaticEventContent for VideoEventContent
Available on crate feature
unstable-msc3553
only.sourceimpl StaticEventContent for RedactedVoiceEventContent
Available on crate feature unstable-msc3245
only.
impl StaticEventContent for RedactedVoiceEventContent
Available on crate feature
unstable-msc3245
only.sourceimpl StaticEventContent for VoiceEventContent
Available on crate feature unstable-msc3245
only.
impl StaticEventContent for VoiceEventContent
Available on crate feature
unstable-msc3245
only.