refacator(dialog): mark `FileResponse` as `#[non_exhaustive]` (#1660)

* recator(dialog): mark `FileResponse` as `#[non_exhaustive]`

closes #1623

* change file
pull/1600/head
Amr Bashir 10 months ago committed by GitHub
parent f946a7cf1f
commit f690777a91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"dialog": "patch"
---
Mark `FileResponse` as `non_exhaustive`.

@ -218,6 +218,7 @@ impl<R: Runtime> MessageDialogBuilder<R> {
#[derive(Debug, Deserialize, Serialize, Default)]
#[serde(rename_all = "camelCase")]
#[non_exhaustive]
pub struct FileResponse {
pub base64_data: Option<String>,
pub duration: Option<u64>,

Loading…
Cancel
Save