for attr in &field.attrs {
if attr.tokens.is_empty() {
let atspan = attr.path.segments.last().unwrap().ident.span();
+ method = quote!{ #attr.path };
if &attr.path == &parse_quote!{ limited } {
skl = quote_spanned!{atspan=> SKL::Limited };
- method = quote_spanned!{atspan=> limited };
- } else if &attr.path == &parse_quote!{ server } {
- method = quote_spanned!{atspan=> server };
- } else if &attr.path == &parse_quote!{ client } {
- method = quote_spanned!{atspan=> client };
}
} else if &attr.path == &parse_quote!{ special } {
let meta = match attr.parse_meta().unwrap() {