Derive Macro swc_common::DeserializeEnum
source · [−]#[derive(DeserializeEnum)]
{
// Attributes available to this derive:
#[tag]
}
Expand description
Derives serde::Deserialize
which is aware of tag
based deserialization.