pub enum OrderType {
Sell = 0,
Buy = 1,
// some variants omitted
}
Expand description
Translates ORDER_*
constants.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for OrderType
impl<'de> Deserialize<'de> for OrderType
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 FromWasmAbi for OrderType
impl FromWasmAbi for OrderType
source§impl IntoWasmAbi for OrderType
impl IntoWasmAbi for OrderType
source§impl OptionFromWasmAbi for OrderType
impl OptionFromWasmAbi for OrderType
source§impl OptionIntoWasmAbi for OrderType
impl OptionIntoWasmAbi for OrderType
source§impl PartialEq for OrderType
impl PartialEq for OrderType
source§impl Sequence for OrderType
impl Sequence for OrderType
impl Copy for OrderType
impl Eq for OrderType
impl StructuralEq for OrderType
impl StructuralPartialEq for OrderType
Auto Trait Implementations§
impl RefUnwindSafe for OrderType
impl Send for OrderType
impl Sync for OrderType
impl Unpin for OrderType
impl UnwindSafe for OrderType
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
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.