Enum darling_core::options::DefaultExpression [] [src]

pub enum DefaultExpression {
    Inherit,
    Explicit(Path),
    Trait,
}

A default/fallback expression encountered in attributes during parsing.

Variants

The value should be taken from the default instance of the containing struct. This is not valid in container options.

Trait Implementations

impl Debug for DefaultExpression
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DefaultExpression
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DefaultExpression
[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 DefaultExpression
[src]

Auto Trait Implementations