serde_derive::internals::attr

Function decide_identifier

source
fn decide_identifier(
    cx: &Ctxt,
    item: &DeriveInput,
    field_identifier: BoolAttr<'_>,
    variant_identifier: BoolAttr<'_>,
) -> Identifier