pub enum DefaultType {
Spot,
Margin,
Option,
Swap,
Future,
}Expand description
TS DefaultType — options.defaultType.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DefaultType
impl Clone for DefaultType
Source§fn clone(&self) -> DefaultType
fn clone(&self) -> DefaultType
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 moreimpl Copy for DefaultType
Source§impl Debug for DefaultType
impl Debug for DefaultType
Source§impl Display for DefaultType
impl Display for DefaultType
impl Eq for DefaultType
Source§impl FromStr for DefaultType
impl FromStr for DefaultType
Source§impl Hash for DefaultType
impl Hash for DefaultType
Source§impl PartialEq for DefaultType
impl PartialEq for DefaultType
impl StructuralPartialEq for DefaultType
Auto Trait Implementations§
impl Freeze for DefaultType
impl RefUnwindSafe for DefaultType
impl Send for DefaultType
impl Sync for DefaultType
impl Unpin for DefaultType
impl UnsafeUnpin for DefaultType
impl UnwindSafe for DefaultType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.