pub struct CandlesEvent {
pub type: EventType,
pub candles: Vec<CandleUpdate>,
}Expand description
Candles event containing candle updates.
Fields§
§type: EventTypeEvent type.
candles: Vec<CandleUpdate>Candle updates.
Trait Implementations§
Source§impl Clone for CandlesEvent
impl Clone for CandlesEvent
Source§fn clone(&self) -> CandlesEvent
fn clone(&self) -> CandlesEvent
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 CandlesEvent
impl Debug for CandlesEvent
Source§impl<'de> Deserialize<'de> for CandlesEvent
impl<'de> Deserialize<'de> for CandlesEvent
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 CandlesEvent
impl RefUnwindSafe for CandlesEvent
impl Send for CandlesEvent
impl Sync for CandlesEvent
impl Unpin for CandlesEvent
impl UnwindSafe for CandlesEvent
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