pub(crate) fn get_variant_alias(v: &Variant) -> Option<String>
Expand description

Takes a Variant, checks for the _ident, if “serde”, if the path _ident is “name” return the s Expr::Lit Variant Attributes ident(“serde”), ExprParen, parse_args, ExprAssign, ExprPath, ident, ExprLit