pub enum ContractType {
Show 37 variants
MULTUP,
MULTDOWN,
UPORDOWN,
EXPIRYRANGE,
ONETOUCH,
CALLE,
LBHIGHLOW,
ASIAND,
EXPIRYRANGEE,
DIGITDIFF,
DIGITMATCH,
DIGITOVER,
PUTE,
DIGITUNDER,
NOTOUCH,
CALL,
RANGE,
LBFLOATPUT,
DIGITODD,
PUT,
ASIANU,
LBFLOATCALL,
EXPIRYMISSE,
EXPIRYMISS,
DIGITEVEN,
TICKHIGH,
TICKLOW,
RESETCALL,
RESETPUT,
CALLSPREAD,
PUTSPREAD,
RUNHIGH,
RUNLOW,
VANILLALONGCALL,
VANILLALONGPUT,
TURBOSLONG,
TURBOSSHORT,
}
Expand description
A valid contract-type
Variants§
MULTUP
MULTDOWN
UPORDOWN
EXPIRYRANGE
ONETOUCH
CALLE
LBHIGHLOW
ASIAND
EXPIRYRANGEE
DIGITDIFF
DIGITMATCH
DIGITOVER
PUTE
DIGITUNDER
NOTOUCH
CALL
RANGE
LBFLOATPUT
DIGITODD
PUT
ASIANU
LBFLOATCALL
EXPIRYMISSE
EXPIRYMISS
DIGITEVEN
TICKHIGH
TICKLOW
RESETCALL
RESETPUT
CALLSPREAD
PUTSPREAD
RUNHIGH
RUNLOW
VANILLALONGCALL
VANILLALONGPUT
TURBOSLONG
TURBOSSHORT
Trait Implementations§
Source§impl Clone for ContractType
impl Clone for ContractType
Source§fn clone(&self) -> ContractType
fn clone(&self) -> ContractType
Returns a duplicate 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 ContractType
impl Debug for ContractType
Source§impl<'de> Deserialize<'de> for ContractType
impl<'de> Deserialize<'de> for ContractType
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
Auto Trait Implementations§
impl Freeze for ContractType
impl RefUnwindSafe for ContractType
impl Send for ContractType
impl Sync for ContractType
impl Unpin for ContractType
impl UnwindSafe for ContractType
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