pub struct TickerPrice {
pub symbol: String,
pub price: f64,
}Expand description
Symbol price ticker.
Fields§
§symbol: StringSymbol.
price: f64Current price.
Trait Implementations§
Source§impl Clone for TickerPrice
impl Clone for TickerPrice
Source§fn clone(&self) -> TickerPrice
fn clone(&self) -> TickerPrice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
Source§impl PartialEq for TickerPrice
impl PartialEq for TickerPrice
Source§impl Serialize for TickerPrice
impl Serialize for TickerPrice
impl StructuralPartialEq for TickerPrice
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