Derive Macro swc_core::common::DeserializeEnum
source · #[derive(DeserializeEnum)]
{
// Attributes available to this derive:
#[tag]
}
Available on crate feature
__common
only.Expand description
Derives serde::Deserialize
which is aware of tag
based deserialization.