From c3a9b35069c7d2610c4319cbc67a66292ce66358 Mon Sep 17 00:00:00 2001 From: Mydayyy Date: Sun, 28 Apr 2024 00:55:48 +0200 Subject: [PATCH] feat: derive uniffi:record for DecryptedComment --- src/privatebin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/privatebin.rs b/src/privatebin.rs index e0809f8..165c3c7 100644 --- a/src/privatebin.rs +++ b/src/privatebin.rs @@ -114,7 +114,7 @@ pub struct DecryptedPaste { } #[skip_serializing_none] -#[derive(Default, Deserialize, Debug, Serialize)] +#[derive(Default, Deserialize, Debug, Serialize, uniffi::Record)] pub struct DecryptedComment { pub comment: String, pub nickname: Option,