Fixed naming convention of kind
for type
.
This commit is contained in:
parent
104704cb88
commit
c524eea01d
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ pub struct MessageDialogOptions {
|
|||
pub title: Option<String>,
|
||||
|
||||
/// The type of the dialog. Defaults to MessageDialogType::Info.
|
||||
#[serde(rename(serialize = "type"))]
|
||||
pub kind: MessageDialogType,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue