Enum ruma_events::room::message::Relation [−][src]
pub enum Relation { Reply { in_reply_to: InReplyTo, }, Replacement(Replacement), }
Expand description
Message vent relationship.
Currently used for replies and editing (message replacement).
Variants
An m.in_reply_to
relation indicating that the event is a reply to another event.
Fields of Reply
in_reply_to: InReplyTo
Information about another message being replied to.
Replacement(Replacement)
This is supported on crate feature
unstable-pre-spec
only.An event that replaces another event.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Relation
impl UnwindSafe for Relation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V