pub struct OHLCRequest {
pub pair: String,
pub interval: Option<CandlestickInterval>,
pub since: Option<i64>,
}
Expand description
A request for OHLC data for a single pair, optionally providing a since
to retrieve
incremental updates.
Fields§
§pair: String
§interval: Option<CandlestickInterval>
§since: Option<i64>
Implementations§
Source§impl OHLCRequest
impl OHLCRequest
pub fn builder(pair: String) -> OHLCRequestBuilder
Trait Implementations§
Source§impl Clone for OHLCRequest
impl Clone for OHLCRequest
Source§fn clone(&self) -> OHLCRequest
fn clone(&self) -> OHLCRequest
Returns a copy 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 OHLCRequest
impl Debug for OHLCRequest
Source§impl ToQueryParams for OHLCRequest
impl ToQueryParams for OHLCRequest
Auto Trait Implementations§
impl Freeze for OHLCRequest
impl RefUnwindSafe for OHLCRequest
impl Send for OHLCRequest
impl Sync for OHLCRequest
impl Unpin for OHLCRequest
impl UnwindSafe for OHLCRequest
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