opltypes 0.2.0

Datatypes for the OpenPowerlifting database format.
Documentation
//! Defines the Sex field.

/// The Sex column.
#[derive(Clone, Copy, Debug, Deserialize, Display, EnumString, PartialEq, Serialize)]
pub enum Sex {
    /// Male.
    M,
    /// Female.
    F,
    /// A gender-neutral title, including non-binary lifters.
    Mx,
}

impl Default for Sex {
    fn default() -> Sex {
        Sex::M
    }
}