core: mark MpvDataType
as serde(untagged)
This commit is contained in:
parent
e3297bef15
commit
ee5aa30335
@ -95,6 +95,7 @@ pub(crate) trait IntoRawCommandPart {
|
||||
|
||||
/// Generic data type representing all possible data types that mpv can return.
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(untagged)]
|
||||
pub enum MpvDataType {
|
||||
Array(Vec<MpvDataType>),
|
||||
Bool(bool),
|
||||
|
Loading…
Reference in New Issue
Block a user