Struct serde_derive_internals::attr::Field
[−]
[src]
pub struct Field { /* fields omitted */ }
Represents field attribute information
Methods
impl Field
[src]
pub fn from_ast(
cx: &Ctxt,
index: usize,
field: &Field,
attrs: Option<&Variant>,
container_default: &Default
) -> Self
[src]
cx: &Ctxt,
index: usize,
field: &Field,
attrs: Option<&Variant>,
container_default: &Default
) -> Self
Extract out the #[serde(...)]
attributes from a struct field.