mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 20:07:01 +05:30
config: add optional name attribute to matchers
This commit is contained in:
parent
d425ae9133
commit
e2abe50c03
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ pub struct Replacements {
|
|||
|
||||
#[derive(Clone, Debug, Deserialize)]
|
||||
pub struct Substitutor {
|
||||
#[serde(default)]
|
||||
pub name: String,
|
||||
pub matcher: Matcher,
|
||||
pub action: Action,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue