pub struct BinanceOptions {
pub adjust_for_time_difference: bool,
pub recv_window: u64,
pub default_type: String,
pub test: bool,
pub demo: bool,
}Expand description
Binance-specific options.
Fields§
§adjust_for_time_difference: boolEnables time synchronization.
recv_window: u64Receive window in milliseconds.
default_type: StringDefault trading type (spot/margin/future/delivery/option).
test: boolEnables testnet mode.
demo: boolEnables demo environment.
Trait Implementations§
Source§impl Clone for BinanceOptions
impl Clone for BinanceOptions
Source§fn clone(&self) -> BinanceOptions
fn clone(&self) -> BinanceOptions
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 BinanceOptions
impl Debug for BinanceOptions
Auto Trait Implementations§
impl Freeze for BinanceOptions
impl RefUnwindSafe for BinanceOptions
impl Send for BinanceOptions
impl Sync for BinanceOptions
impl Unpin for BinanceOptions
impl UnwindSafe for BinanceOptions
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