Enum coc_rs::clan::WarFrequency
source · pub enum WarFrequency {
Unknown,
Always,
MoreThanOncePerWeek,
OncePerWeek,
LessThanOncePerWeek,
Never,
Any,
}
Variants§
Implementations§
source§impl WarFrequency
impl WarFrequency
Trait Implementations§
source§impl Clone for WarFrequency
impl Clone for WarFrequency
source§fn clone(&self) -> WarFrequency
fn clone(&self) -> WarFrequency
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 WarFrequency
impl Debug for WarFrequency
source§impl<'de> Deserialize<'de> for WarFrequency
impl<'de> Deserialize<'de> for WarFrequency
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 Ord for WarFrequency
impl Ord for WarFrequency
source§fn cmp(&self, other: &WarFrequency) -> Ordering
fn cmp(&self, other: &WarFrequency) -> 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 for WarFrequency
impl PartialEq for WarFrequency
source§fn eq(&self, other: &WarFrequency) -> bool
fn eq(&self, other: &WarFrequency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WarFrequency
impl PartialOrd for WarFrequency
source§fn partial_cmp(&self, other: &WarFrequency) -> Option<Ordering>
fn partial_cmp(&self, other: &WarFrequency) -> 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 WarFrequency
impl Serialize for WarFrequency
source§impl ToString for WarFrequency
impl ToString for WarFrequency
impl Copy for WarFrequency
impl Eq for WarFrequency
impl StructuralPartialEq for WarFrequency
Auto Trait Implementations§
impl RefUnwindSafe for WarFrequency
impl Send for WarFrequency
impl Sync for WarFrequency
impl Unpin for WarFrequency
impl UnwindSafe for WarFrequency
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
Checks if this value is equivalent to the given key. Read more
§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.