forked from juspay/hyperswitch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wasm): fix wasm function to return the categories for keys with t…
…heir description respectively (juspay#3023)
- Loading branch information
1 parent
5edabae
commit 2ac5b2c
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
use euclid::frontend::dir::DirKeyKind; | ||
use serde::Serialize; | ||
|
||
#[derive(Serialize, Clone)] | ||
pub struct Details<'a> { | ||
pub description: Option<&'a str>, | ||
pub category: Option<&'a str>, | ||
pub kind: DirKeyKind, | ||
} |