pub struct Chart {
pub left_id: i64,
pub right_id: i64,
pub more_data: bool,
pub ready: bool,
pub state: HashMap<String, Value>,
pub epoch: Option<i64>,
}Expand description
图表状态
Fields§
§left_id: i64左边界K线ID
right_id: i64右边界K线ID
more_data: bool是否有更多数据
ready: bool数据是否已准备好(分片传输完成)
state: HashMap<String, Value>图表状态
epoch: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chart
impl<'de> Deserialize<'de> for Chart
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 Chart
impl RefUnwindSafe for Chart
impl Send for Chart
impl Sync for Chart
impl Unpin for Chart
impl UnwindSafe for Chart
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