pub struct Tick {
pub ask: Option<DateTime<Utc>>,
pub bid: Option<DateTime<Utc>>,
pub epoch: Option<i64>,
pub id: Option<String>,
pub pip_size: String,
pub quote: Option<DateTime<Utc>>,
pub symbol: Option<String>,
}
Expand description
Tick by tick list of streamed data
Fields§
§ask: Option<DateTime<Utc>>
Market ask at the epoch\n
bid: Option<DateTime<Utc>>
Market bid at the epoch\n
epoch: Option<i64>
Epoch time of the tick\n
id: Option<String>
A per-connection unique identifier. Can be passed to the forget
API call to unsubscribe.\n
pip_size: String
Indicates the number of decimal points that the returned amounts must be displayed with\n
quote: Option<DateTime<Utc>>
Market value at the epoch\n
symbol: Option<String>
Symbol\n
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tick
impl<'de> Deserialize<'de> for Tick
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 Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnwindSafe for Tick
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