ruma_events::policy::rule::server

Type Alias PolicyRuleServerEvent

Source
pub type PolicyRuleServerEvent = StateEvent<PolicyRuleServerEventContent>;
Expand description

An m.policy.rule.server event.

Aliased Type§

enum PolicyRuleServerEvent {
    Original(OriginalStateEvent<PolicyRuleServerEventContent>),
    Redacted(RedactedStateEvent<RedactedPolicyRuleServerEventContent>),
}

Variants§

§

Original(OriginalStateEvent<PolicyRuleServerEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedStateEvent<RedactedPolicyRuleServerEventContent>)

Redacted form of the event with minimal fields.