pub struct BinanceOptions {
pub key: Option<String>,
pub secret: Option<String>,
pub http_url: BinanceHttpUrl,
pub http_auth: BinanceAuth,
pub request_config: RequestConfig,
pub websocket_url: BinanceWebSocketUrl,
pub websocket_config: WebSocketConfig,
}Expand description
A struct that represents a set of BinanceOption s.
Fields§
§key: Option<String>§secret: Option<String>§http_url: BinanceHttpUrl§http_auth: BinanceAuth§request_config: RequestConfig§websocket_url: BinanceWebSocketUrl§websocket_config: WebSocketConfigTrait 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
Source§impl Default for BinanceOptions
impl Default for BinanceOptions
Source§impl HandlerOptions for BinanceOptions
impl HandlerOptions for BinanceOptions
Source§type OptionItem = BinanceOption
type OptionItem = BinanceOption
The element of this set
fn update(&mut self, option: Self::OptionItem)
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