pub struct InstrumentCandlesResponse {
pub instrument: Option<InstrumentName>,
pub granularity: Option<CandlestickGranularity>,
pub candles: Option<Vec<Candlestick>>,
}Expand description
Successful response for instrument_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 InstrumentCandlesResponse
impl Clone for InstrumentCandlesResponse
Source§impl Debug for InstrumentCandlesResponse
impl Debug for InstrumentCandlesResponse
Source§impl<'de> Deserialize<'de> for InstrumentCandlesResponse
impl<'de> Deserialize<'de> for InstrumentCandlesResponse
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
impl StructuralPartialEq for InstrumentCandlesResponse
Auto Trait Implementations§
impl Freeze for InstrumentCandlesResponse
impl RefUnwindSafe for InstrumentCandlesResponse
impl Send for InstrumentCandlesResponse
impl Sync for InstrumentCandlesResponse
impl Unpin for InstrumentCandlesResponse
impl UnsafeUnpin for InstrumentCandlesResponse
impl UnwindSafe for InstrumentCandlesResponse
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