Enum vkrs::users::Sex
[−]
[src]
#[repr(u8)]pub enum Sex { Any, Female, Male, }
Variants
Any
Female
Male
Trait Implementations
impl Debug for Sex
[src]
impl Eq for Sex
[src]
impl PartialEq for Sex
[src]
fn eq(&self, __arg_0: &Sex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for Sex
[src]
impl Clone for Sex
[src]
fn clone(&self) -> Sex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl AsRef<str> for Sex
[src]
impl Deserialize for Sex
[src]
fn deserialize<D: Deserializer>(d: &mut D) -> Result<Sex, D::Error>
Deserialize this value given this Deserializer
.