pub struct PriceData {
pub coin: String,
pub mid: Option<f64>,
pub ask: Option<f64>,
pub bid: Option<f64>,
pub last: Option<f64>,
pub time: Option<u64>,
}Fields§
§coin: String§mid: Option<f64>§ask: Option<f64>§bid: Option<f64>§last: Option<f64>§time: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PriceData
impl<'de> Deserialize<'de> for PriceData
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 PriceData
impl RefUnwindSafe for PriceData
impl Send for PriceData
impl Sync for PriceData
impl Unpin for PriceData
impl UnwindSafe for PriceData
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