Skip to main content

NotificationReplies

Trait NotificationReplies 

Source
pub trait NotificationReplies {
    // Provided method
    fn reply_action(
        &self,
        id: &str,
        label: &str,
        placeholder: &str,
    ) -> NotificationAction { ... }
}
Expand description

Typed replies, where the system takes them.

Provided Methods§

Source

fn reply_action( &self, id: &str, label: &str, placeholder: &str, ) -> NotificationAction

An action that asks for a reply, shown as a field with placeholder in it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§