1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! The links the user clicks in panes, for a UI plugin holding the
//! `links.handle` grant: each arrives as the plugin event [`OPEN_EVENT`]
//! instead of opening in the system browser, as a user gesture (the
//! plugin may open a surface while it handles it).
use String;
use Deserialize;
/// The plugin event a clicked link arrives as.
pub const OPEN_EVENT: &str = "system.link.open";
/// A link clicked in a pane.