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 = AnyRedactedRoomEventThe redacted form of the event.
Auto Trait Implementations
impl RefUnwindSafe for AnyRoomEventimpl Send for AnyRoomEventimpl Sync for AnyRoomEventimpl Unpin for AnyRoomEventimpl UnwindSafe for AnyRoomEventBlanket 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