Fix: serialize AttributeValue as a simple value
This commit is contained in:
1 parent
9c9928d226
commit
2eca71e644
1 file changed
+1
@@ -2,6 +2,7 @@ use std::fmt::Formatter;
|
||||
|
||||
// trying to keep values at 3 bytes
|
||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
||||
#[cfg_attr(feature = "serialize", serde(untagged))]
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum AttributeValue<'a> {
|
||||
Text(&'a str),
|
||||
|
||||
Reference in new issue
Block a user