pub type ReceiptEvent = EphemeralRoomEvent<ReceiptEventContent>;
Expand description
An m.receipt
event.
Aliased Type§
struct ReceiptEvent {
pub content: ReceiptEventContent,
pub room_id: OwnedRoomId,
}
Fields§
§content: ReceiptEventContent
Data specific to the event type.
room_id: OwnedRoomId
The ID of the room associated with this event.
Trait Implementations
Source§impl<C> Clone for EphemeralRoomEvent<C>where
C: Clone + EphemeralRoomEventContent,
impl<C> Clone for EphemeralRoomEvent<C>where
C: Clone + EphemeralRoomEventContent,
Source§fn clone(&self) -> EphemeralRoomEvent<C>
fn clone(&self) -> EphemeralRoomEvent<C>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<C> Debug for EphemeralRoomEvent<C>where
C: Debug + EphemeralRoomEventContent,
impl<C> Debug for EphemeralRoomEvent<C>where
C: Debug + EphemeralRoomEventContent,
Source§impl<'de, C> Deserialize<'de> for EphemeralRoomEvent<C>where
C: EphemeralRoomEventContent + EventContentFromType,
impl<'de, C> Deserialize<'de> for EphemeralRoomEvent<C>where
C: EphemeralRoomEventContent + EventContentFromType,
Source§fn deserialize<D>(
deserializer: D,
) -> Result<EphemeralRoomEvent<C>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<EphemeralRoomEvent<C>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<C> Serialize for EphemeralRoomEvent<C>where
C: EphemeralRoomEventContent,
impl<C> Serialize for EphemeralRoomEvent<C>where
C: EphemeralRoomEventContent,
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more