Type Alias SyncReceiptEvent

Source
pub type SyncReceiptEvent = SyncEphemeralRoomEvent<ReceiptEventContent>;
Expand description

An m.receipt event from a sync_events response.

Aliased Type§

struct SyncReceiptEvent {
    pub content: ReceiptEventContent,
}

Fields§

§content: ReceiptEventContent

Data specific to the event type.

Trait Implementations

Source§

impl<C> Clone for SyncEphemeralRoomEvent<C>

Source§

fn clone(&self) -> SyncEphemeralRoomEvent<C>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<C> Debug for SyncEphemeralRoomEvent<C>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, C> Deserialize<'de> for SyncEphemeralRoomEvent<C>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<SyncEphemeralRoomEvent<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 SyncEphemeralRoomEvent<C>

Source§

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