pub struct CandleEvent {
pub market: String,
pub interval: String,
pub candle: Vec<Candle>,
}Expand description
Candle update pushed on the candles WebSocket channel.
Fields§
§market: String§interval: String§candle: Vec<Candle>Trait Implementations§
Source§impl Clone for CandleEvent
impl Clone for CandleEvent
Source§impl Debug for CandleEvent
impl Debug for CandleEvent
Source§impl<'de> Deserialize<'de> for CandleEvent
impl<'de> Deserialize<'de> for CandleEvent
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 CandleEvent
impl RefUnwindSafe for CandleEvent
impl Send for CandleEvent
impl Sync for CandleEvent
impl Unpin for CandleEvent
impl UnsafeUnpin for CandleEvent
impl UnwindSafe for CandleEvent
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