Enum serde_derive_state_internals::attr::Default [] [src]

pub enum Default {
    None,
    Default,
    Path(Path),
}

Represents the default to use for a field when deserializing.

Variants

Field must always be specified because it does not have a default.

The default is given by std::default::Default::default().

The default is given by this function.

Trait Implementations

impl Debug for Default
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Default
[src]

[src]

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

[src]

This method tests for !=.