Enum phoenix::state::enums::SelfTradeBehavior
source · pub enum SelfTradeBehavior {
Abort,
CancelProvide,
DecrementTake,
}Variants§
Trait Implementations§
source§impl BorshDeserialize for SelfTradeBehavior
impl BorshDeserialize for SelfTradeBehavior
source§impl BorshSerialize for SelfTradeBehavior
impl BorshSerialize for SelfTradeBehavior
source§impl Clone for SelfTradeBehavior
impl Clone for SelfTradeBehavior
source§fn clone(&self) -> SelfTradeBehavior
fn clone(&self) -> SelfTradeBehavior
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 SelfTradeBehavior
impl Debug for SelfTradeBehavior
source§impl PartialEq for SelfTradeBehavior
impl PartialEq for SelfTradeBehavior
source§fn eq(&self, other: &SelfTradeBehavior) -> bool
fn eq(&self, other: &SelfTradeBehavior) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SelfTradeBehavior
impl Eq for SelfTradeBehavior
impl StructuralEq for SelfTradeBehavior
impl StructuralPartialEq for SelfTradeBehavior
Auto Trait Implementations§
impl RefUnwindSafe for SelfTradeBehavior
impl Send for SelfTradeBehavior
impl Sync for SelfTradeBehavior
impl Unpin for SelfTradeBehavior
impl UnwindSafe for SelfTradeBehavior
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> 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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more