pub struct PriceKLine {
pub category: Category,
pub symbol: String,
pub list: Vec<PriceKLineRow>,
}Expand description
Result of the mark, index and premium index price kline endpoints: rows carry prices only (no volume or turnover).
Fields§
§category: CategoryProduct type.
symbol: StringSymbol name.
list: Vec<PriceKLineRow>Klines, newest first.
Trait Implementations§
Source§impl Debug for PriceKLine
impl Debug for PriceKLine
Source§impl<'de> Deserialize<'de> for PriceKLine
impl<'de> Deserialize<'de> for PriceKLine
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 PriceKLine
impl PartialEq for PriceKLine
impl StructuralPartialEq for PriceKLine
Auto Trait Implementations§
impl Freeze for PriceKLine
impl RefUnwindSafe for PriceKLine
impl Send for PriceKLine
impl Sync for PriceKLine
impl Unpin for PriceKLine
impl UnsafeUnpin for PriceKLine
impl UnwindSafe for PriceKLine
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