I am trying to write something in line with the below code
#[derive(Debug, Setter)]
pub struct Card{
color: String,
#[getter(display=false)]
suit: String,
value: String,
}
I am able to fetch the outer attribute using somthing like
let attr_ = &field.attrs;
for attrib in attr_{
if let syn::AttrStyle::Outer = attrib.style{
if attrib.path.is_ident("getter"){
return quote!{}
}
}
}
I am unable to parse the tokens though. In other words, I need to check if "display" is set to "false"