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 PartialEq for Default[src]
fn eq(&self, __arg_0: &Default) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Default) -> bool
This method tests for !=.