Enum ruma_events::AnyPossiblyRedactedMessageEvent [−][src]
pub enum AnyPossiblyRedactedMessageEvent { Regular(AnyMessageEvent), Redacted(AnyRedactedMessageEvent), }
Expand description
An enum that holds either regular un-redacted events or redacted events.
Variants
Regular(AnyMessageEvent)
An un-redacted event.
Redacted(AnyRedactedMessageEvent)
A redacted event.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for AnyPossiblyRedactedMessageEvent
impl Sync for AnyPossiblyRedactedMessageEvent
impl Unpin for AnyPossiblyRedactedMessageEvent
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