matrix_sdk::deserialized_responses

Type Alias RawMemberEvent

Source
pub type RawMemberEvent = RawSyncOrStrippedState<RoomMemberEventContent>;
Expand description

Raw version of MemberEvent.

Aliased Type§

enum RawMemberEvent {
    Sync(Raw<SyncStateEvent<RoomMemberEventContent>>),
    Stripped(Raw<StrippedStateEvent<RoomMemberEventContent>>),
}

Variants§

§

Sync(Raw<SyncStateEvent<RoomMemberEventContent>>)

An event from a room in joined or left state.

§

Stripped(Raw<StrippedStateEvent<RoomMemberEventContent>>)

An event from a room in invited state.

Implementations

Trait Implementations

Source§

impl<C> Clone for RawSyncOrStrippedState<C>

Source§

fn clone(&self) -> RawSyncOrStrippedState<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 RawSyncOrStrippedState<C>

Source§

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

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

impl<C> Serialize for RawSyncOrStrippedState<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