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§
Original(OriginalMinimalStateEvent<RoomMemberEventContent>)
An unredacted event.
Redacted(RedactedMinimalStateEvent<RedactedRoomMemberEventContent>)
A redacted event.
Implementations§
source§impl MinimalRoomMemberEvent
impl MinimalRoomMemberEvent
sourcepub fn membership(&self) -> &MembershipState
pub fn membership(&self) -> &MembershipState
Obtain the membership state, regardless of whether this event is redacted.