diff --git a/.changes/dialog-file-response-non-exhaustive.md b/.changes/dialog-file-response-non-exhaustive.md new file mode 100644 index 00000000..f8d45d80 --- /dev/null +++ b/.changes/dialog-file-response-non-exhaustive.md @@ -0,0 +1,5 @@ +--- +"dialog": "patch" +--- + +Mark `FileResponse` as `non_exhaustive`. diff --git a/plugins/dialog/src/lib.rs b/plugins/dialog/src/lib.rs index b57cc44c..c9b1688f 100644 --- a/plugins/dialog/src/lib.rs +++ b/plugins/dialog/src/lib.rs @@ -218,6 +218,7 @@ impl MessageDialogBuilder { #[derive(Debug, Deserialize, Serialize, Default)] #[serde(rename_all = "camelCase")] +#[non_exhaustive] pub struct FileResponse { pub base64_data: Option, pub duration: Option,