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

source ·
pub type SyncPolicyRuleServerEvent = SyncStateEvent<PolicyRuleServerEventContent>;
Available on crate feature events only.
Expand description

An m.policy.rule.server event from a sync_events response.

Aliased Type§

enum SyncPolicyRuleServerEvent {
    Original(OriginalSyncStateEvent<PolicyRuleServerEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedPolicyRuleServerEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<PolicyRuleServerEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedPolicyRuleServerEventContent>)

Redacted form of the event with minimal fields.