pub struct BinanceRestConfig {
pub base_url: String,
}Available on crate feature
live-binance only.Expand description
Endpoint configuration for fetch_klines_with_config. The default points
at Binance’s public production REST host; tests and Testnet users override
base_url to aim the request elsewhere.
Fields§
§base_url: StringREST host without path, e.g. "https://api.binance.com". The
/api/v3/klines path and query string are appended internally.
Trait Implementations§
Source§impl Clone for BinanceRestConfig
impl Clone for BinanceRestConfig
Source§fn clone(&self) -> BinanceRestConfig
fn clone(&self) -> BinanceRestConfig
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 moreSource§impl Debug for BinanceRestConfig
impl Debug for BinanceRestConfig
Auto Trait Implementations§
impl Freeze for BinanceRestConfig
impl RefUnwindSafe for BinanceRestConfig
impl Send for BinanceRestConfig
impl Sync for BinanceRestConfig
impl Unpin for BinanceRestConfig
impl UnsafeUnpin for BinanceRestConfig
impl UnwindSafe for BinanceRestConfig
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