Struct contack::Gender [−][src]
Expand description
The components correspond to the sex (biological) and gender identity.
Fields
sex: Option<Sex>
The biological sex of the contact.
identity: Option<String>
The gender identity of the contact. Free-form as to allow it to be set to whatever gender the contact prefers.
As a side not sorry for using the term identity,
I know its not correct but I am trying to keep
both backwards compatability and compatability with
the standard. It should be gender
but oh well.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Gender
impl UnwindSafe for Gender
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more