Enum ruma_common::push::Action [−][src]
pub enum Action { Notify, DontNotify, Coalesce, SetTweak(Tweak), }
Expand description
This represents the different actions that should be taken when a rule is matched, and controls how notifications are delivered to the client.
See https://matrix.org/docs/spec/client_server/r0.6.0#actions for details.
Variants
Causes matching events to generate a notification.
Prevents matching events from generating a notification.
Behaves like notify but homeservers may choose to coalesce multiple events into a single notification.
Sets an entry in the ‘tweaks’ dictionary sent to the push gateway.
Tuple Fields of SetTweak
0: Tweak
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl UnwindSafe for Action
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more