Enum gedcomx::EventType [−][src]
#[non_exhaustive] pub enum EventType {}Show variants
Adoption, AdultChristening, Annulment, Baptism, BarMitzvah, BatMitzvah, Birth, Blessing, Burial, Census, Christening, Circumcision, Confirmation, Cremation, Death, Divorce, DivorceFiling, Education, Engagement, Emigration, Excommunication, FirstCommunion, Funeral, Immigration, LandTransaction, Marriage, MilitaryAward, MilitaryDischarge, Mission, MoveFrom, MoveTo, Naturalization, Ordination, Retirement, Custom(Uri),
Expand description
Standard event types.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
An annulment event of a marriage.
A an official blessing event, such as at the hands of a clergy member or at another religious rite.
A christening event at birth. Note: use
AdultChristening
for a
christening event as an adult.
A confirmation event (or other rite of initiation) in a church or religion.
A cremation event after death.
A education or an educational achievement event (e.g. diploma, graduation, scholarship, etc.).
An engagement to be married event.
An excommunication event from a church.
An event of a move (i.e. change of residence) from a location.
An event of a move (i.e. change of residence) to a location.
A naturalization event (i.e. acquisition of citizenship and nationality).
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 EventType
impl UnwindSafe for EventType
Blanket Implementations
Mutably borrows from an owned value. Read more