pub enum Gender {
Unknown,
Ambiguous,
Female,
Male,
Open(String),
}
Expand description
A gender representation.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Gender
impl PartialEq for Gender
impl Eq for Gender
impl StructuralEq for Gender
impl StructuralPartialEq for Gender
Auto Trait Implementations§
impl RefUnwindSafe for Gender
impl Send for Gender
impl Sync for Gender
impl Unpin for Gender
impl UnwindSafe for Gender
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.