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
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.
Adoption
AdultChristening
Annulment

An annulment event of a marriage.

Baptism
BarMitzvah
BatMitzvah
Birth
Blessing

A an official blessing event, such as at the hands of a clergy member or at another religious rite.

Burial
Census
Christening

A christening event at birth. Note: use AdultChristening for a christening event as an adult.

Circumcision
Confirmation

A confirmation event (or other rite of initiation) in a church or religion.

Cremation

A cremation event after death.

Death
Divorce
DivorceFiling
Education

A education or an educational achievement event (e.g. diploma, graduation, scholarship, etc.).

Engagement

An engagement to be married event.

Emigration
Excommunication

An excommunication event from a church.

FirstCommunion
Funeral
Immigration
LandTransaction
Marriage
MilitaryAward
MilitaryDischarge
Mission
MoveFrom

An event of a move (i.e. change of residence) from a location.

MoveTo

An event of a move (i.e. change of residence) to a location.

Naturalization

A naturalization event (i.e. acquisition of citizenship and nationality).

Ordination
Retirement
Custom(Uri)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.