Struct darling_core::options::InputField [] [src]

pub struct InputField {
    pub ident: Ident,
    pub attr_name: Option<String>,
    pub ty: Type,
    pub default: Option<DefaultExpression>,
    pub with: Option<Path>,
    pub skip: bool,
    pub map: Option<Path>,
    pub multiple: bool,
}

Fields

If true, generated code will not look for this field in the input meta item, instead always falling back to either InputField::default or Default::default.

Methods

impl InputField
[src]

[src]

Generate a view into this field that can be used for code generation.

[src]

Trait Implementations

impl Debug for InputField
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for InputField
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for InputField
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for InputField
[src]

impl ParseAttribute for InputField
[src]

[src]

Read a meta-item, and apply its values to the current instance.

[src]

Auto Trait Implementations

impl !Send for InputField

impl !Sync for InputField