Enum ruma_events::AnyRoomEvent [−][src]
pub enum AnyRoomEvent { Message(AnyMessageEvent), State(AnyStateEvent), RedactedMessage(AnyRedactedMessageEvent), RedactedState(AnyRedactedStateEvent), }
Expand description
Any room event.
Variants
Message(AnyMessageEvent)
Any message event.
State(AnyStateEvent)
Any state event.
RedactedMessage(AnyRedactedMessageEvent)
Any message event that has been redacted.
RedactedState(AnyRedactedStateEvent)
Any state event that has been redacted.
Implementations
Returns this event’s origin_server_ts
field.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Redacts self
, referencing the given event in unsigned.redacted_because
.
Does nothing for events that are already redacted.
type Redacted = AnyRedactedRoomEvent
type Redacted = AnyRedactedRoomEvent
The redacted form of the event.
Auto Trait Implementations
impl RefUnwindSafe for AnyRoomEvent
impl Send for AnyRoomEvent
impl Sync for AnyRoomEvent
impl Unpin for AnyRoomEvent
impl UnwindSafe for AnyRoomEvent
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