pub struct PricePoint {
pub bid: Option<f64>,
pub ask: Option<f64>,
pub last_traded: Option<f64>,
}Fields§
§bid: Option<f64>§ask: Option<f64>§last_traded: Option<f64>Trait Implementations§
Source§impl Debug for PricePoint
impl Debug for PricePoint
Source§impl Default for PricePoint
impl Default for PricePoint
Source§fn default() -> PricePoint
fn default() -> PricePoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PricePoint
impl<'de> Deserialize<'de> for PricePoint
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 PricePoint
impl RefUnwindSafe for PricePoint
impl Send for PricePoint
impl Sync for PricePoint
impl Unpin for PricePoint
impl UnsafeUnpin for PricePoint
impl UnwindSafe for PricePoint
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