Struct serde_derive_internals::ast::Container
source · pub struct Container<'a> {
pub ident: Ident,
pub attrs: Container,
pub data: Data<'a>,
pub generics: &'a Generics,
pub original: &'a DeriveInput,
}Expand description
A source data structure annotated with #[derive(Serialize)] and/or #[derive(Deserialize)],
parsed into an internal representation.
Fields§
§ident: IdentThe struct or enum name (without generics).
attrs: ContainerAttributes on the structure, parsed for Serde.
data: Data<'a>The contents of the struct or enum.
generics: &'a GenericsAny generics on the struct or enum.
original: &'a DeriveInputOriginal input.