pub struct OhlcResponse {
pub last: i64,
pub ohlc: HashMap<String, Vec<OHLC>>,
}
Expand description
OHLC data by pair
Includes last
value for use in incremental updates
Fields§
§last: i64
§ohlc: HashMap<String, Vec<OHLC>>
Trait Implementations§
Source§impl Clone for OhlcResponse
impl Clone for OhlcResponse
Source§fn clone(&self) -> OhlcResponse
fn clone(&self) -> OhlcResponse
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 OhlcResponse
impl Debug for OhlcResponse
Source§impl<'de> Deserialize<'de> for OhlcResponse
impl<'de> Deserialize<'de> for OhlcResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OhlcResponse
impl PartialEq for OhlcResponse
impl StructuralPartialEq for OhlcResponse
Auto Trait Implementations§
impl Freeze for OhlcResponse
impl RefUnwindSafe for OhlcResponse
impl Send for OhlcResponse
impl Sync for OhlcResponse
impl Unpin for OhlcResponse
impl UnwindSafe for OhlcResponse
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