pub enum Eligibility {
Eligible,
Ineligible,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for Eligibility
impl Clone for Eligibility
source§fn clone(&self) -> Eligibility
fn clone(&self) -> Eligibility
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Eligibility
impl Debug for Eligibility
source§impl<'de> Deserialize<'de> for Eligibility
impl<'de> Deserialize<'de> for Eligibility
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Eligibility
impl Hash for Eligibility
source§impl Ord for Eligibility
impl Ord for Eligibility
source§fn cmp(&self, other: &Eligibility) -> Ordering
fn cmp(&self, other: &Eligibility) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Eligibility> for Eligibility
impl PartialEq<Eligibility> for Eligibility
source§fn eq(&self, other: &Eligibility) -> bool
fn eq(&self, other: &Eligibility) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Eligibility> for Eligibility
impl PartialOrd<Eligibility> for Eligibility
source§fn partial_cmp(&self, other: &Eligibility) -> Option<Ordering>
fn partial_cmp(&self, other: &Eligibility) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Eligibility
impl Serialize for Eligibility
impl Copy for Eligibility
impl Eq for Eligibility
impl StructuralEq for Eligibility
impl StructuralPartialEq for Eligibility
Auto Trait Implementations§
impl RefUnwindSafe for Eligibility
impl Send for Eligibility
impl Sync for Eligibility
impl Unpin for Eligibility
impl UnwindSafe for Eligibility
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.