pub enum DecisionStrategy {
Affirmative,
Unanimous,
Consensus,
}Variants§
Trait Implementations§
Source§impl Clone for DecisionStrategy
impl Clone for DecisionStrategy
Source§fn clone(&self) -> DecisionStrategy
fn clone(&self) -> DecisionStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecisionStrategy
impl Debug for DecisionStrategy
Source§impl<'de> Deserialize<'de> for DecisionStrategy
impl<'de> Deserialize<'de> for DecisionStrategy
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
impl Eq for DecisionStrategy
Source§impl Hash for DecisionStrategy
impl Hash for DecisionStrategy
Source§impl Ord for DecisionStrategy
impl Ord for DecisionStrategy
Source§fn cmp(&self, other: &DecisionStrategy) -> Ordering
fn cmp(&self, other: &DecisionStrategy) -> Ordering
1.21.0 (const: unstable) · 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 DecisionStrategy
impl PartialEq for DecisionStrategy
Source§fn eq(&self, other: &DecisionStrategy) -> bool
fn eq(&self, other: &DecisionStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DecisionStrategy
impl PartialOrd for DecisionStrategy
Source§impl Serialize for DecisionStrategy
impl Serialize for DecisionStrategy
impl StructuralPartialEq for DecisionStrategy
Auto Trait Implementations§
impl Freeze for DecisionStrategy
impl RefUnwindSafe for DecisionStrategy
impl Send for DecisionStrategy
impl Sync for DecisionStrategy
impl Unpin for DecisionStrategy
impl UnsafeUnpin for DecisionStrategy
impl UnwindSafe for DecisionStrategy
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