Type Alias matrix_sdk_base::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.