serde_derive::internals::attr

Function decide_tag

source
fn decide_tag(
    cx: &Ctxt,
    item: &DeriveInput,
    untagged: BoolAttr<'_>,
    internal_tag: Attr<'_, String>,
    content: Attr<'_, String>,
) -> TagType