ruma_events::policy::rule::server

Type Alias SyncPolicyRuleServerEvent

Source
pub type SyncPolicyRuleServerEvent = SyncStateEvent<PolicyRuleServerEventContent>;
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.