Make MessageData non-exhaustive to minimize semver issues

This commit is contained in:
Dirkjan Ochtman 2023-02-21 21:29:40 +01:00
parent d26e7dda73
commit 75f1dfe03e
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ impl Default for MessagePoll<'static> {
// Response
/// Type that represents the &lt;trnData&gt; tag for message poll response
#[non_exhaustive]
#[derive(Deserialize, Debug)]
pub enum MessageData {
/// Data under the &lt;domain:trnData&gt; tag