Enum ruma_events::room::encrypted::Relation [−][src]
pub enum Relation { Reply { in_reply_to: InReplyTo, }, Replacement(Replacement), Reference(Reference), Annotation(Annotation), }
Expand description
Relationship information about an encrypted event.
Outside of the encrypted payload to support server aggregation.
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.
This is supported on crate feature
unstable-pre-spec
only.An event that replaces another event.
Tuple Fields of Replacement
0: Replacement
This is supported on crate feature
unstable-pre-spec
only.A reference to another event.
Tuple Fields of Reference
0: Reference
This is supported on crate feature
unstable-pre-spec
only.An annotation to an event.
Tuple Fields of Annotation
0: Annotation
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