Struct tauri::api::notification::Notification [−][src]
pub struct Notification { /* fields omitted */ }
Expand description
The desktop notification definition.
Allows you to construct a Notification data and send it.
Example
use tauri::api::notification::Notification; // shows a notification with the given title and body Notification::new("studio.tauri.example") .title("New message") .body("You've got a new message.") .show();
Implementations
Trait Implementations
Returns the “default value” for a type. Read more