Skip to content

Commit

Permalink
feat: derive uniffi:record for DecryptedComment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mydayyy committed Apr 27, 2024
1 parent 4da2f6c commit c3a9b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/privatebin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
Expand Down

0 comments on commit c3a9b35

Please sign in to comment.