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.