pub struct TickerStreamResponse {Show 18 fields
pub e: Option<String>,
pub e_uppercase: Option<i64>,
pub s: Option<String>,
pub p: Option<String>,
pub p_uppercase: Option<String>,
pub w: Option<String>,
pub c: Option<String>,
pub q_uppercase: Option<String>,
pub o: Option<String>,
pub h: Option<String>,
pub l: Option<String>,
pub v: Option<String>,
pub q: Option<String>,
pub o_uppercase: Option<i64>,
pub c_uppercase: Option<i64>,
pub f_uppercase: Option<i64>,
pub l_uppercase: Option<i64>,
pub n: Option<i64>,
}Fields§
§e: Option<String>eventType
e_uppercase: Option<i64>eventTime
s: Option<String>symbol
p: Option<String>priceChange
p_uppercase: Option<String>priceChangePercent
w: Option<String>averagePrice
c: Option<String>closePrice
q_uppercase: Option<String>lastTradeVolume
o: Option<String>openPrice
h: Option<String>highPrice
l: Option<String>lowPrice
v: Option<String>volume
q: Option<String>quoteVolume
o_uppercase: Option<i64>startTime
c_uppercase: Option<i64>endTime
f_uppercase: Option<i64>firstTradeId
l_uppercase: Option<i64>lastTradeId
n: Option<i64>tradeNum
Implementations§
Source§impl TickerStreamResponse
impl TickerStreamResponse
pub fn new() -> TickerStreamResponse
Trait Implementations§
Source§impl Clone for TickerStreamResponse
impl Clone for TickerStreamResponse
Source§fn clone(&self) -> TickerStreamResponse
fn clone(&self) -> TickerStreamResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TickerStreamResponse
impl Debug for TickerStreamResponse
Source§impl Default for TickerStreamResponse
impl Default for TickerStreamResponse
Source§fn default() -> TickerStreamResponse
fn default() -> TickerStreamResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TickerStreamResponse
impl<'de> Deserialize<'de> for TickerStreamResponse
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 TickerStreamResponse
impl PartialEq for TickerStreamResponse
Source§impl Serialize for TickerStreamResponse
impl Serialize for TickerStreamResponse
impl StructuralPartialEq for TickerStreamResponse
Auto Trait Implementations§
impl Freeze for TickerStreamResponse
impl RefUnwindSafe for TickerStreamResponse
impl Send for TickerStreamResponse
impl Sync for TickerStreamResponse
impl Unpin for TickerStreamResponse
impl UnsafeUnpin for TickerStreamResponse
impl UnwindSafe for TickerStreamResponse
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