matrix_sdk_base

Type Alias MinimalRoomMemberEvent

Source
pub type MinimalRoomMemberEvent = MinimalStateEvent<RoomMemberEventContent>;
Expand description

A minimal m.room.member event.

Aliased Type§

enum MinimalRoomMemberEvent {
    Original(OriginalMinimalStateEvent<RoomMemberEventContent>),
    Redacted(RedactedMinimalStateEvent<RedactedRoomMemberEventContent>),
}

Variants§

Implementations§

Source§

impl MinimalRoomMemberEvent

Source

pub fn membership(&self) -> &MembershipState

Obtain the membership state, regardless of whether this event is redacted.