pub struct TickerPrice {
pub market: String,
pub price: Option<String>,
}
Expand description
A ticker for a given market pair.
Fields§
§market: String
§price: Option<String>
Trait Implementations§
Source§impl Debug for TickerPrice
impl Debug for TickerPrice
Source§impl<'de> Deserialize<'de> for TickerPrice
impl<'de> Deserialize<'de> for TickerPrice
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 TickerPrice
impl RefUnwindSafe for TickerPrice
impl Send for TickerPrice
impl Sync for TickerPrice
impl Unpin for TickerPrice
impl UnwindSafe for TickerPrice
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