Enum serde_derive_internals::attr::Identifier
[−]
[src]
pub enum Identifier {
No,
Field,
Variant,
}Whether this enum represents the fields of a struct or the variants of an enum.
Variants
NoIt does not.
FieldThis enum represents the fields of a struct. All of the variants must be
unit variants, except possibly one which is annotated with
#[serde(other)] and is a newtype variant.
VariantThis enum represents the variants of an enum. All of the variants must be unit variants.
Trait Implementations
impl Copy for Identifier[src]
impl Clone for Identifier[src]
fn clone(&self) -> Identifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more