pub trait AsUnknownVariant {
type Value: Serialize<Value>;
// Required methods
fn id(&self) -> u32;
fn value(self) -> Self::Value;
}pub trait AsUnknownVariant {
type Value: Serialize<Value>;
// Required methods
fn id(&self) -> u32;
fn value(self) -> Self::Value;
}