pub type PossiblyRedactedCallMemberEventContent = CallMemberEventContent;Expand description
The PossiblyRedacted version of CallMemberEventContent.
Since CallMemberEventContent has the CallMemberEventContent::Empty state it already is
compatible with the redacted version of the state event content.
Aliased Type§
pub enum PossiblyRedactedCallMemberEventContent {
LegacyContent(LegacyMembershipContent),
SessionContent(SessionMembershipData),
Empty(EmptyMembershipData),
}Variants§
LegacyContent(LegacyMembershipContent)
The legacy format for m.call.member events. (An array of memberships. The devices of one user.)
SessionContent(SessionMembershipData)
Normal membership events. One event per membership. Multiple state keys will be used to describe multiple devices for one user.
Empty(EmptyMembershipData)
An empty content means this user has been in a rtc session but is not anymore.
Trait Implementations§
Source§impl From<RedactedCallMemberEventContent> for PossiblyRedactedCallMemberEventContent
impl From<RedactedCallMemberEventContent> for PossiblyRedactedCallMemberEventContent
Source§fn from(_value: RedactedCallMemberEventContent) -> Self
fn from(_value: RedactedCallMemberEventContent) -> Self
Converts to this type from the input type.
Source§impl PossiblyRedactedStateEventContent for PossiblyRedactedCallMemberEventContent
impl PossiblyRedactedStateEventContent for PossiblyRedactedCallMemberEventContent
Source§type StateKey = CallMemberStateKey
type StateKey = CallMemberStateKey
The type of the event’s
state_key field.Source§fn event_type(&self) -> StateEventType
fn event_type(&self) -> StateEventType
Get the event’s type, like
m.room.name.impl JsonCastable<AnyPossiblyRedactedStateEventContent> for PossiblyRedactedCallMemberEventContent
Available on crate feature
unstable-msc3401 only.