pub struct OkxOptions {
pub account_mode: String,
pub demo: bool,
}Expand description
OKX-specific options.
Fields§
§account_mode: StringAccount mode: cash (spot), cross (cross margin), isolated (isolated margin).
demo: boolEnables demo trading environment.
Trait Implementations§
Source§impl Clone for OkxOptions
impl Clone for OkxOptions
Source§fn clone(&self) -> OkxOptions
fn clone(&self) -> OkxOptions
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 OkxOptions
impl Debug for OkxOptions
Auto Trait Implementations§
impl Freeze for OkxOptions
impl RefUnwindSafe for OkxOptions
impl Send for OkxOptions
impl Sync for OkxOptions
impl Unpin for OkxOptions
impl UnwindSafe for OkxOptions
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