Type Alias ruma::events::policy::rule::server::PolicyRuleServerEvent

source ·
pub type PolicyRuleServerEvent = StateEvent<PolicyRuleServerEventContent>;
Available on crate feature events only.
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.