ruma::events::policy::rule::room

Type Alias SyncPolicyRuleRoomEvent

Source
pub type SyncPolicyRuleRoomEvent = SyncStateEvent<PolicyRuleRoomEventContent>;
Available on crate feature events only.
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.