pub enum STPMode {
None,
ExpireMaker,
ExpireTaker,
ExpireBoth,
Decrement,
}Expand description
Self trade prevention (STP) Mode.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for STPMode
impl<'de> Deserialize<'de> for STPMode
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 StructuralPartialEq for STPMode
Auto Trait Implementations§
impl Freeze for STPMode
impl RefUnwindSafe for STPMode
impl Send for STPMode
impl Sync for STPMode
impl Unpin for STPMode
impl UnwindSafe for STPMode
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