Type Alias ruma_events::policy::rule::room::SyncPolicyRuleRoomEvent

source ·
pub type SyncPolicyRuleRoomEvent = SyncStateEvent<PolicyRuleRoomEventContent>;
Expand description

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

Aliased Type§

enum SyncPolicyRuleRoomEvent {
    Original(OriginalSyncStateEvent<PolicyRuleRoomEventContent>),
    Redacted(RedactedSyncStateEvent<RedactedPolicyRuleRoomEventContent>),
}

Variants§

§

Original(OriginalSyncStateEvent<PolicyRuleRoomEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncStateEvent<RedactedPolicyRuleRoomEventContent>)

Redacted form of the event with minimal fields.