pub struct WebullConfig {
pub api_key: Option<String>,
pub api_secret: Option<String>,
pub device_id: Option<String>,
pub timeout: Duration,
pub base_url: String,
pub paper_trading: bool,
}
Expand description
Configuration for the Webull API client.
Fields§
§api_key: Option<String>
API key for authentication
api_secret: Option<String>
API secret for authentication
device_id: Option<String>
Device ID for authentication
timeout: Duration
Timeout for API requests
base_url: String
Base URL for API requests
paper_trading: bool
Whether to use paper trading
Implementations§
Source§impl WebullConfig
impl WebullConfig
Trait Implementations§
Source§impl Clone for WebullConfig
impl Clone for WebullConfig
Source§fn clone(&self) -> WebullConfig
fn clone(&self) -> WebullConfig
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 WebullConfig
impl Debug for WebullConfig
Auto Trait Implementations§
impl Freeze for WebullConfig
impl RefUnwindSafe for WebullConfig
impl Send for WebullConfig
impl Sync for WebullConfig
impl Unpin for WebullConfig
impl UnwindSafe for WebullConfig
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