#[repr(u8)]
pub enum Status {
Unspecified,
NotMarried,
InRelationship,
Engaged,
Married,
ItsComplicated,
ActiveSearch,
InLove,
}
Variants
Unspecified
NotMarried
InRelationship
Engaged
Married
ItsComplicated
ActiveSearch
InLove
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
sourcefn deserialize<D: Deserializer<'de>>(d: D) -> Result<Status, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Status, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Status
impl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.