Struct serde_derive_internals::attr::Container
source · pub struct Container { /* private fields */ }
Expand description
Represents struct or enum attribute information.
Implementations§
source§impl Container
impl Container
sourcepub fn from_ast(cx: &Ctxt, item: &DeriveInput) -> Self
pub fn from_ast(cx: &Ctxt, item: &DeriveInput) -> Self
Extract out the #[serde(...)]
attributes from an item.