[][src]Module ruma_events::push_rules

Types for the the m.push_rules event.

Structs

ConditionalPushRule

Like PushRule, but with an additional conditions field.

EventMatchCondition

A push condition that matches a glob pattern match on a field of the event.

PatternedPushRule

Like PushRule, but with an additional pattern field.

PushRule

A push rule is a single rule that states under what conditions an event should be passed onto a push gateway and how the notification should be presented.

PushRulesEvent

Describes all push rules for a user.

PushRulesEventContent

The payload for PushRulesEvent.

RoomMemberCountCondition

A push condition that matches the current number of members in the room.

Ruleset

A push ruleset scopes a set of rules according to some criteria.

SenderNotificationPermissionCondition

A push condition that takes into account the current power levels in the room, ensuring the sender of the event has high enough power to trigger the notification.

Enums

Action

This represents the different actions that should be taken when a rule is matched, and controls how notifications are delivered to the client.

PushCondition

A condition that must apply for an associated push rule's action to be taken.