Enum serde_codegen_internals::attr::Default
[−]
[src]
pub enum Default {
None,
Default,
Path(Path),
}Represents the default to use for a field when deserializing.
Variants
NoneField must always be specified because it does not have a default.
DefaultThe default is given by std::default::Default::default().
Path(Path)The default is given by this function.
Trait Implementations
impl Debug for Default[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more