Enum ruma::events::AnyRedactedMessageEvent [−][src]
pub enum AnyRedactedMessageEvent {
Show 17 variants
CallAnswer(RedactedMessageEvent<RedactedAnswerEventContent>),
CallInvite(RedactedMessageEvent<RedactedInviteEventContent>),
CallHangup(RedactedMessageEvent<RedactedHangupEventContent>),
CallCandidates(RedactedMessageEvent<RedactedCandidatesEventContent>),
KeyVerificationReady(RedactedMessageEvent<RedactedReadyEventContent>),
KeyVerificationStart(RedactedMessageEvent<RedactedStartEventContent>),
KeyVerificationCancel(RedactedMessageEvent<RedactedCancelEventContent>),
KeyVerificationAccept(RedactedMessageEvent<RedactedAcceptEventContent>),
KeyVerificationKey(RedactedMessageEvent<RedactedKeyEventContent>),
KeyVerificationMac(RedactedMessageEvent<RedactedMacEventContent>),
KeyVerificationDone(RedactedMessageEvent<RedactedDoneEventContent>),
Reaction(RedactedMessageEvent<RedactedReactionEventContent>),
RoomEncrypted(RedactedMessageEvent<RedactedEncryptedEventContent>),
RoomMessage(RedactedMessageEvent<RedactedMessageEventContent>),
RoomMessageFeedback(RedactedMessageEvent<RedactedFeedbackEventContent>),
RoomRedaction(RedactedMessageEvent<RedactedRedactionEventContent>),
Sticker(RedactedMessageEvent<RedactedStickerEventContent>),
// some variants omitted
}
events
only.Expand description
Any message event.
Variants
CallAnswer(RedactedMessageEvent<RedactedAnswerEventContent>)
m.call.answer
CallInvite(RedactedMessageEvent<RedactedInviteEventContent>)
m.call.invite
CallHangup(RedactedMessageEvent<RedactedHangupEventContent>)
m.call.hangup
CallCandidates(RedactedMessageEvent<RedactedCandidatesEventContent>)
m.call.candidates
KeyVerificationReady(RedactedMessageEvent<RedactedReadyEventContent>)
m.key.verification.ready
KeyVerificationStart(RedactedMessageEvent<RedactedStartEventContent>)
m.key.verification.start
KeyVerificationCancel(RedactedMessageEvent<RedactedCancelEventContent>)
m.key.verification.cancel
KeyVerificationAccept(RedactedMessageEvent<RedactedAcceptEventContent>)
m.key.verification.accept
KeyVerificationKey(RedactedMessageEvent<RedactedKeyEventContent>)
m.key.verification.key
KeyVerificationMac(RedactedMessageEvent<RedactedMacEventContent>)
m.key.verification.mac
KeyVerificationDone(RedactedMessageEvent<RedactedDoneEventContent>)
m.key.verification.done
Reaction(RedactedMessageEvent<RedactedReactionEventContent>)
m.reaction
RoomEncrypted(RedactedMessageEvent<RedactedEncryptedEventContent>)
m.room.encrypted
RoomMessage(RedactedMessageEvent<RedactedMessageEventContent>)
m.room.message
RoomMessageFeedback(RedactedMessageEvent<RedactedFeedbackEventContent>)
m.room.message.feedback
RoomRedaction(RedactedMessageEvent<RedactedRedactionEventContent>)
m.room.redaction
m.sticker
Implementations
Returns this event’s origin_server_ts field.
Returns this event’s unsigned field.
Trait Implementations
pub fn deserialize<D>(
deserializer: D
) -> Result<AnyRedactedMessageEvent, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<AnyRedactedMessageEvent, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AnyRedactedMessageEvent
impl Send for AnyRedactedMessageEvent
impl Sync for AnyRedactedMessageEvent
impl Unpin for AnyRedactedMessageEvent
impl UnwindSafe for AnyRedactedMessageEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more