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§
Sourcefn reply_action(
&self,
id: &str,
label: &str,
placeholder: &str,
) -> NotificationAction
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".