pub struct CandlestickResponse {
pub instrument: Option<InstrumentName>,
pub granularity: Option<CandlestickGranularity>,
pub candles: Option<Vec<Candlestick>>,
}Expand description
Response containing instrument, granularity, and list of candles.
Fields§
§instrument: Option<InstrumentName>The instrument whose Prices are represented by the candlesticks.
granularity: Option<CandlestickGranularity>The granularity of the candlesticks provided.
candles: Option<Vec<Candlestick>>The list of candlesticks that satisfy the request.
Trait Implementations§
Source§impl Clone for CandlestickResponse
impl Clone for CandlestickResponse
Source§impl Debug for CandlestickResponse
impl Debug for CandlestickResponse
Source§impl<'de> Deserialize<'de> for CandlestickResponse
impl<'de> Deserialize<'de> for CandlestickResponse
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 CandlestickResponse
impl PartialEq for CandlestickResponse
Source§impl Serialize for CandlestickResponse
impl Serialize for CandlestickResponse
impl StructuralPartialEq for CandlestickResponse
Auto Trait Implementations§
impl Freeze for CandlestickResponse
impl RefUnwindSafe for CandlestickResponse
impl Send for CandlestickResponse
impl Sync for CandlestickResponse
impl Unpin for CandlestickResponse
impl UnsafeUnpin for CandlestickResponse
impl UnwindSafe for CandlestickResponse
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