Enum openpgp_card::card_do::Sex
source · [−]pub enum Sex {
NotKnown,
Male,
Female,
NotApplicable,
UndefinedValue(u8),
}
Expand description
4.4.3.5 Sex
Encoded in accordance with https://en.wikipedia.org/wiki/ISO/IEC_5218
Variants
NotKnown
Male
Female
NotApplicable
UndefinedValue(u8)
Trait Implementations
impl Copy for Sex
impl StructuralPartialEq for Sex
Auto Trait Implementations
impl RefUnwindSafe for Sex
impl Send for Sex
impl Sync for Sex
impl Unpin for Sex
impl UnwindSafe for Sex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more