pub struct PriceTick {
pub price: f64,
pub bid: Option<f64>,
pub ask: Option<f64>,
pub at_ms: i64,
}Expand description
Tick de precio (stream nativo): densidad intrasegundo sin polling.
Fields§
§price: f64§bid: Option<f64>§ask: Option<f64>§at_ms: i64Epoch milisegundos del bróker.
Trait Implementations§
impl Copy for PriceTick
Source§impl<'de> Deserialize<'de> for PriceTick
impl<'de> Deserialize<'de> for PriceTick
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
impl StructuralPartialEq for PriceTick
Auto Trait Implementations§
impl Forget for PriceTick
impl Freeze for PriceTick
impl RefUnwindSafe for PriceTick
impl Send for PriceTick
impl Sync for PriceTick
impl Unpin for PriceTick
impl UnsafeUnpin for PriceTick
impl UnwindSafe for PriceTick
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