ruma_events::policy::rule::room

Type Alias PolicyRuleRoomEvent

Source
pub type PolicyRuleRoomEvent = StateEvent<PolicyRuleRoomEventContent>;
Expand description

An m.policy.rule.room event.

Aliased Type§

enum PolicyRuleRoomEvent {
    Original(OriginalStateEvent<PolicyRuleRoomEventContent>),
    Redacted(RedactedStateEvent<RedactedPolicyRuleRoomEventContent>),
}

Variants§

§

Original(OriginalStateEvent<PolicyRuleRoomEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedPolicyRuleRoomEventContent>)

Redacted form of the event with minimal fields.