pub struct BinanceSource { /* private fields */ }Expand description
Binance’s public klines endpoint, as a DataProvider: it fetches whatever
symbol and timeframe are asked for.
let data = BinanceSource::new().limit(500).request("BTCUSDT", "60".parse()?)?;Implementations§
Trait Implementations§
Source§impl Clone for BinanceSource
impl Clone for BinanceSource
Source§fn clone(&self) -> BinanceSource
fn clone(&self) -> BinanceSource
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 DataProvider for BinanceSource
impl DataProvider for BinanceSource
Source§impl Debug for BinanceSource
impl Debug for BinanceSource
Auto Trait Implementations§
impl Freeze for BinanceSource
impl RefUnwindSafe for BinanceSource
impl Send for BinanceSource
impl Sync for BinanceSource
impl Unpin for BinanceSource
impl UnsafeUnpin for BinanceSource
impl UnwindSafe for BinanceSource
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