Enum gedcomx::NameType [−][src]
#[non_exhaustive] pub enum NameType { BirthName, MarriedName, AlsoKnownAs, Nickname, AdoptiveName, FormalName, ReligiousName, Custom(Uri), }
Expand description
Standard name types.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Name given at birth.
Name accepted at marriage.
“Also known as” name.
Nickname.
Name given at adoption.
A formal name, usually given to distinguish it from a name more commonly used.
A name given at a religious rite or ceremony.
Custom(Uri)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn serialize_attributes(
&self,
attributes: Vec<OwnedAttribute>,
namespace: Namespace
) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations
impl RefUnwindSafe for NameType
impl UnwindSafe for NameType
Blanket Implementations
Mutably borrows from an owned value. Read more