pub struct Ticker {
pub symbol: String,
pub last_price: String,
pub index_price: String,
pub mark_price: String,
pub bid1_price: String,
pub bid1_size: String,
pub ask1_price: String,
pub ask1_size: String,
}Fields§
§symbol: String§last_price: String§index_price: String§mark_price: String§bid1_price: String§bid1_size: String§ask1_price: String§ask1_size: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Ticker
impl<'de> Deserialize<'de> for Ticker
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 Ticker
impl RefUnwindSafe for Ticker
impl Send for Ticker
impl Sync for Ticker
impl Unpin for Ticker
impl UnwindSafe for Ticker
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