Struct serde_codegen_internals::attr::Item [] [src]

pub struct Item {
    // some fields omitted
}

Represents container (e.g. struct) attribute information

Methods

impl Item
[src]

fn from_ast(cx: &ExtCtxt, item: &Item) -> Self

Extract out the #[serde(...)] attributes from an item.

fn name(&self) -> &Name

fn deny_unknown_fields(&self) -> bool

fn ser_bound(&self) -> Option<&[WherePredicate]>

fn de_bound(&self) -> Option<&[WherePredicate]>

Trait Implementations

impl Debug for Item
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.