pub struct PriceHistoryData {Show 17 fields
pub event_type: String,
pub orderbook_id: Option<String>,
pub resolution: Option<String>,
pub include_ohlcv: Option<bool>,
pub prices: Vec<Candle>,
pub last_timestamp: Option<i64>,
pub server_time: Option<i64>,
pub last_processed: Option<i64>,
pub t: Option<i64>,
pub o: Option<String>,
pub h: Option<String>,
pub l: Option<String>,
pub c: Option<String>,
pub v: Option<String>,
pub m: Option<String>,
pub bb: Option<String>,
pub ba: Option<String>,
}Expand description
Price history data (snapshot, update, heartbeat)
Fields§
§event_type: String§orderbook_id: Option<String>§resolution: Option<String>§include_ohlcv: Option<bool>§prices: Vec<Candle>§last_timestamp: Option<i64>§server_time: Option<i64>§last_processed: Option<i64>§t: Option<i64>§o: Option<String>§h: Option<String>§l: Option<String>§c: Option<String>§v: Option<String>§m: Option<String>§bb: Option<String>§ba: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PriceHistoryData
impl Clone for PriceHistoryData
Source§fn clone(&self) -> PriceHistoryData
fn clone(&self) -> PriceHistoryData
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 PriceHistoryData
impl Debug for PriceHistoryData
Source§impl<'de> Deserialize<'de> for PriceHistoryData
impl<'de> Deserialize<'de> for PriceHistoryData
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
Auto Trait Implementations§
impl Freeze for PriceHistoryData
impl RefUnwindSafe for PriceHistoryData
impl Send for PriceHistoryData
impl Sync for PriceHistoryData
impl Unpin for PriceHistoryData
impl UnwindSafe for PriceHistoryData
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more