Struct ruma_events::EphemeralRoomEvent [−][src]
pub struct EphemeralRoomEvent<C: EphemeralRoomEventContent> { pub content: C, pub room_id: RoomId, }
Expand description
An ephemeral room event.
Fields
content: C
Data specific to the event type.
room_id: RoomId
The ID of the room associated with this event.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl<C> RefUnwindSafe for EphemeralRoomEvent<C> where
C: RefUnwindSafe,
impl<C> Send for EphemeralRoomEvent<C> where
C: Send,
impl<C> Sync for EphemeralRoomEvent<C> where
C: Sync,
impl<C> Unpin for EphemeralRoomEvent<C> where
C: Unpin,
impl<C> UnwindSafe for EphemeralRoomEvent<C> where
C: UnwindSafe,
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