Struct ruma_events::room::encrypted::Replacement [−][src]
pub struct Replacement { pub event_id: EventId, }
This is supported on crate feature
unstable-pre-spec
only.Expand description
The event this relation belongs to replaces another event.
In contrast to message::Replacement
, this struct doesn’t store the new content, since that
is part of the encrypted payload for m.encrypted
events.
Fields
event_id: EventId
The ID of the event being replacing.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Replacement
impl Send for Replacement
impl Sync for Replacement
impl Unpin for Replacement
impl UnwindSafe for Replacement
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more